/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f8f8; /* Light background for the page */
}

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

.page-gdpr__section {
  padding: 40px 0;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__dark-section {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  box-shadow: none;
}

.page-gdpr__main-title {
  font-size: 42px;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-gdpr__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
}

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

.page-gdpr__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__sub-title--white {
  color: #ffffff;
}

.page-gdpr__text-block {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-gdpr__text-block--white {
  color: #ffffff;
}

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

.page-gdpr__list--white {
  color: #ffffff;
  list-style-type: '✓ ';
  padding-left: 0;
}

.page-gdpr__list-item {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
}

.page-gdpr__list--white .page-gdpr__list-item {
  color: #ffffff;
}

.page-gdpr__list-item strong {
  font-weight: 700;
}

/* Hero Section */
.page-gdpr__hero-section {
  background-color: #f0faff;
  padding-top: 10px; /* Small top padding, assuming body padding-top handles header offset */
  padding-bottom: 40px;
  text-align: center;
}

.page-gdpr__hero-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr__hero-text-content {
  width: 100%;
  max-width: 900px;
}

/* Image and Text Grid for User Rights */
.page-gdpr__image-and-text-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-gdpr__image-and-text-grid .page-gdpr__image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__image-and-text-grid .page-gdpr__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.page-gdpr__image-and-text-grid .page-gdpr__text-wrapper {
  flex: 1;
}

/* Features Grid for Data Protection */
.page-gdpr__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

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

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

.page-gdpr__feature-title {
  font-size: 20px;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-gdpr__feature-description {
  font-size: 15px;
  color: #555555;
}

/* Contact Section */
.page-gdpr__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
  align-items: center;
}

.page-gdpr__contact-info {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.page-gdpr__contact-info p {
  margin-bottom: 10px;
}

.page-gdpr__contact-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: #1a7bbd;
  text-decoration: underline;
}

.page-gdpr__contact-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__contact-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 30px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: #f5f5f5;
}

.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-gdpr__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
}

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

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

  .page-gdpr__main-title {
    font-size: 38px;
  }

  .page-gdpr__section-title {
    font-size: 28px;
  }

  .page-gdpr__sub-title {
    font-size: 22px;
  }

  .page-gdpr__image-and-text-grid {
    flex-direction: column;
    align-items: center;
  }

  .page-gdpr__image-and-text-grid .page-gdpr__image-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 30px;
  }

  .page-gdpr__hero-image img {
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio */
    border-radius: 4px;
  }

  .page-gdpr__main-title {
    font-size: clamp(28px, 8vw, 36px); /* Clamp for responsive H1 */
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 15px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

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

  .page-gdpr__section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .page-gdpr__sub-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__feature-description {
    font-size: 15px;
  }

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

  /* General image responsiveness for content area */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Image containers in content area */
  .page-gdpr__image-wrapper,
  .page-gdpr__hero-image,
  .page-gdpr__contact-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 4px;
  }

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

  .page-gdpr__feature-card {
    padding: 20px;
  }

  .page-gdpr__contact-grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__contact-info {
    padding: 25px;
  }

  details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    padding: 15px;
  }

  .page-gdpr__faq-qtext {
    font-size: 15px;
  }

  .page-gdpr__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 15px 15px;
  }
}