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

.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: var(--header-offset, 120px); /* Ensure header offset */
    background: linear-gradient(135deg, #0A2463, #E0B700); /* Brand colors gradient */
    color: #ffffff; /* White text on dark/gradient background */
    overflow: hidden; /* Prevent content overflow */
}

.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%;
    box-sizing: border-box;
}

.page-gdpr__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.page-gdpr__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    /* No filter to change image color */
}

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

.page-gdpr__main-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.page-gdpr__intro-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Ensure padding is included in width */
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-gdpr__btn-primary {
    background: #E0B700; /* Auxiliary color for primary CTA */
    color: #0A2463; /* Dark blue text on gold background for contrast */
    border: 2px solid #E0B700;
}

.page-gdpr__btn-primary:hover {
    background: #ffc800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-gdpr__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-gdpr__section {
    padding: 60px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.page-gdpr__section:last-of-type {
    border-bottom: none;
}

.page-gdpr__section--what-is-gdpr {
    background-color: #ffffff;
}

.page-gdpr__section--data-collection {
    background-color: #f8f8f8;
}

.page-gdpr__section--user-rights {
    background-color: #0A2463; /* Main brand color for a dark section */
    color: #ffffff; /* White text on dark background */
}

.page-gdpr__section--data-security {
    background-color: #ffffff;
}

.page-gdpr__section--data-retention {
    background-color: #f8f8f8;
}

.page-gdpr__section--cookies {
    background-color: #ffffff;
}

.page-gdpr__section--contact-privacy {
    background-color: #0A2463; /* Main brand color for a dark section */
    color: #ffffff; /* White text on dark background */
}

.page-gdpr__section--faq {
    background-color: #f8f8f8;
}

.page-gdpr__container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%; /* Ensure container takes full width up to max-width */
    box-sizing: border-box; /* Include padding in width calculation */
    padding-left: 15px;
    padding-right: 15px;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    color: #0A2463; /* Dark blue for titles on light backgrounds */
    font-weight: 700;
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: #E0B700; /* Gold for titles on dark backgrounds */
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr__dark-section .page-gdpr__paragraph {
    color: #f0f0f0; /* Lighter text on dark background */
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-gdpr__dark-section .page-gdpr__list {
    color: #f0f0f0; /* Lighter text on dark background */
}

.page-gdpr__list-item {
    margin-bottom: 10px;
}

.page-gdpr__list-item strong {
    color: #0A2463; /* Dark blue for strong text on light background */
}

.page-gdpr__dark-section .page-gdpr__list-item strong {
    color: #E0B700; /* Gold for strong text on dark background */
}

.page-gdpr__paragraph a,
.page-gdpr__list-item a {
    color: #E0B700; /* Gold for links */
    text-decoration: underline;
    font-weight: bold;
}

.page-gdpr__dark-section .page-gdpr__paragraph a,
.page-gdpr__dark-section .page-gdpr__list-item a {
    color: #ffc800; /* Slightly brighter gold for links on dark background */
}

.page-gdpr__image-wrapper {
    margin: 30px auto;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    /* Min size check is for display, not explicit CSS. Ensure no small icons */
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
    /* No filter to change image color */
}

.page-gdpr__keyword {
    font-weight: bold;
    color: #0A2463;
}

.page-gdpr__dark-section .page-gdpr__keyword {
    color: #E0B700;
}

/* FAQ styles */
.page-gdpr__faq-list {
  margin-top: 40px;
}

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

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #ffffff;
  border-radius: 0 0 5px 5px;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-gdpr__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-gdpr__faq-question:active {
  background: #eeeeee;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: #0A2463; /* Dark blue for question text */
  pointer-events: none;
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: #E0B700; /* Gold for active toggle */
  transform: rotate(45deg); /* Rotate for minus sign effect */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.4em;
    }
    .page-gdpr__intro-description {
        font-size: 1.1em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__paragraph,
    .page-gdpr__list {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile specific header offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-gdpr__intro-description {
        font-size: 1em;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important; /* Full width for buttons */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__section {
        padding: 40px 15px;
    }

    .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important; /* Ensure container takes full width */
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-gdpr__paragraph,
    .page-gdpr__list {
        font-size: 0.95em;
    }

    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
    }
    
    .page-gdpr__image-wrapper {
        box-shadow: none; /* Reduce shadows on mobile */
        margin-left: 0;
        margin-right: 0;
        border-radius: 4px;
    }

    /* FAQ mobile specific styles */
    .page-gdpr__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-gdpr__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-gdpr__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-gdpr__faq-answer {
        padding: 0 15px;
    }
    
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px !important;
    }
}