.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Explicit for clarity, though body is already white */
}

/* Base container for content width */
.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-gdpr__hero-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__protection-section,
.page-gdpr__contact-section,
.page-gdpr__cta-section,
.page-gdpr__faq-section,
.page-gdpr__update-section {
  padding: 60px 0;
  text-align: center;
}

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above, content below */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 80px;
    overflow: hidden; /* Ensure no overflow */
}

.page-gdpr__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    height: auto;
    display: block;
    margin-bottom: 30px; /* Space between image and content */
}

.page-gdpr__hero-content {
    position: relative; /* Not absolute, to flow below image */
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.15rem;
  color: #333333;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #26A9E0;
  margin-bottom: 30px;
  font-weight: bold;
  text-align: center;
}

.page-gdpr__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left; /* Default text alignment */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Background colors for contrast */
.page-gdpr__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-gdpr__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.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__protection-title,
.page-gdpr__dark-bg .page-gdpr__protection-description,
.page-gdpr__dark-bg .page-gdpr__hero-description {
  color: #FFFFFF;
}

/* Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-gdpr__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #e0f4ff;
  color: #26A9E0;
}

/* Principles section */
.page-gdpr__principles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__principle-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-gdpr__principle-title {
    font-size: 1.3rem;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-gdpr__principle-description {
    font-size: 0.95rem;
    color: #555555;
}

/* Rights section */
.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__rights-item {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: left;
}

.page-gdpr__rights-title {
    font-size: 1.25rem;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-gdpr__rights-description {
    font-size: 0.95rem;
    color: #555555;
}

/* Protection section */
.page-gdpr__protection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__protection-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.page-gdpr__protection-title {
    font-size: 1.3rem;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.page-gdpr__protection-description {
    font-size: 0.95rem;
    color: #f0f0f0;
}

/* Contact section */
.page-gdpr__text-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__text-link:hover {
    text-decoration: underline;
}

/* FAQ section */
.page-gdpr__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-gdpr__faq-item {
    background-color: #f9f9f9;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.page-gdpr__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: bold;
    color: #26A9E0;
    background-color: #eaf8ff;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-item summary:hover {
    background-color: #d4efff;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
}

.page-gdpr__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: #555555;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
}

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

  .page-gdpr__container {
    padding: 0 15px; /* Smaller padding on mobile */
  }

  .page-gdpr__hero-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__protection-section,
  .page-gdpr__contact-section,
  .page-gdpr__cta-section,
  .page-gdpr__faq-section,
  .page-gdpr__update-section {
    padding: 40px 0;
  }
  
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-gdpr__hero-description,
  .page-gdpr__text-block,
  .page-gdpr__principle-description,
  .page-gdpr__rights-description,
  .page-gdpr__protection-description,
  .page-gdpr__faq-item summary,
  .page-gdpr__faq-answer {
    font-size: 1rem;
  }
  
  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile button responsiveness */
  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to button group */
  }
  
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__principles-list,
  .page-gdpr__protection-grid {
    grid-template-columns: 1fr; /* Single column layout */
    padding: 0 15px;
  }
  
  .page-gdpr__rights-list,
  .page-gdpr__faq-list {
    padding: 0 15px;
  }
  
  .page-gdpr__faq-item summary {
    padding: 15px 20px;
    font-size: 1.05rem;
  }
  
  .page-gdpr__faq-answer {
    padding: 10px 20px 15px;
  }
}