:root {
  --primary-color: #E53935; /* Main color */
  --secondary-color: #FF5A4F; /* Accent color */
  --text-main-color: #333333; /* Main text color */
  --card-bg-color: #FFFFFF; /* Card background */
  --page-section-bg: #F5F7FA; /* Page section background */
  --border-color: #E0E0E0; /* Border color */
  --button-gradient: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.page-gdpr {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Default text color for the page */
  line-height: 1.6;
  background-color: var(--page-section-bg); /* Use background color from custom scheme */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--page-section-bg); /* Consistent with page background */
  overflow: hidden; /* Ensure content does not overflow horizontally */
}

.page-gdpr__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure width is 100% for flex item */
}

.page-gdpr__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px; /* Limit width of text content */
}

.page-gdpr__main-title {
  font-size: clamp(28px, 4vw, 48px); /* H1 font-size clamp */
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-main-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box; /* Responsive button */
  white-space: normal; /* Responsive button text */
  word-wrap: break-word; /* Responsive button text */
}

.page-gdpr__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-gdpr__section {
  padding: 50px 20px;
  background-color: var(--card-bg-color); /* Default to white for better contrast */
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.page-gdpr__section:first-of-type {
  margin-top: 30px;
}

.page-gdpr__dark-section {
  background-color: var(--primary-color);
  color: #ffffff; /* White text for dark background */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-gdpr__section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__paragraph {
  font-size: 17px;
  margin-bottom: 15px;
  color: var(--text-main-color);
}

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

.page-gdpr__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

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

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
  color: var(--text-main-color);
}

.page-gdpr__dark-section .page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-gdpr__list-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-gdpr__dark-section .page-gdpr__list-title {
  color: var(--secondary-color);
}

.page-gdpr__list-description {
  font-size: 16px;
  color: var(--text-main-color);
  margin-bottom: 0;
}

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

.page-gdpr__link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: var(--secondary-color);
}

.page-gdpr__dark-section .page-gdpr__link {
  color: var(--secondary-color);
}

.page-gdpr__dark-section .page-gdpr__link:hover {
  color: #ffffff;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-gdpr__contact-item {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--text-main-color);
}

/* FAQ Section Styling - Details/Summary */
details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

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;
  color: var(--text-main-color);
}
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: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}
.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: var(--text-main-color);
}
.page-gdpr__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__section {
    padding: 40px 15px;
  }
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }
}

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

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Keep small top padding */
    padding-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 15px;
  }

  .page-gdpr__hero-description {
    font-size: clamp(15px, 3vw, 18px);
    margin-bottom: 20px;
  }

  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important; /* Button responsive */
    width: 100% !important;
    box-sizing: border-box !important; /* Button responsive */
    white-space: normal !important; /* Button responsive text */
    word-wrap: break-word !important; /* Button responsive text */
  }

  .page-gdpr__section-title {
    font-size: clamp(22px, 5vw, 32px);
    margin-bottom: 25px;
  }

  .page-gdpr__sub-title {
    font-size: clamp(18px, 4vw, 24px);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-description,
  .page-gdpr__contact-item {
    font-size: 16px;
  }

  .page-gdpr__list-title {
    font-size: 18px;
  }

  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
  .page-gdpr__faq-qtext { font-size: 16px; }
  .page-gdpr__faq-toggle { font-size: 20px; width: 24px; }
  details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; }
  .page-gdpr__faq-answer p { font-size: 15px; }
}