:root {
    --page-gdpr-bg-color: #08160F; /* Background */
    --page-gdpr-card-bg: #11271B; /* Card BG */
    --page-gdpr-text-main: #F2FFF6; /* Text Main */
    --page-gdpr-text-secondary: #A7D9B8; /* Text Secondary */
    --page-gdpr-border-color: #2E7A4E; /* Border */
    --page-gdpr-glow-color: #57E38D; /* Glow */
    --page-gdpr-gold-color: #F2C14E; /* Gold */
    --page-gdpr-divider-color: #1E3A2A; /* Divider */
    --page-gdpr-deep-green: #0A4B2C; /* Deep Green for hero background */
    --page-gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --page-gdpr-primary-color: #11A84E; /* Main brand color */
    --page-gdpr-secondary-color: #22C768; /* Auxiliary brand color */
}

.page-gdpr {
    background-color: var(--page-gdpr-bg-color);
    color: var(--page-gdpr-text-main); /* Light text on dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 1rem;
}

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

/* Hero Section */
.page-gdpr__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--page-gdpr-deep-green); /* A slightly different dark green for hero background */
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Ensure image doesn't exceed wrapper height */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.page-gdpr__main-title {
    color: var(--page-gdpr-text-main);
    font-size: clamp(2rem, 4vw, 3rem); /* H1 font size with clamp */
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-gdpr__hero-description {
    color: var(--page-gdpr-text-secondary);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

/* General Section Styling */
.page-gdpr__intro-section,
.page-gdpr__data-processing-section,
.page-gdpr__cookies-section,
.page-gdpr__faq-section {
    background-color: var(--page-gdpr-card-bg); /* Darker background for these sections */
    padding: 60px 0;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__contact-section {
    background-color: var(--page-gdpr-bg-color); /* Original body background for these sections */
    padding: 60px 0;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__section-title {
    color: var(--page-gdpr-gold-color);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-gdpr__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--page-gdpr-primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-gdpr__subsection-title {
    color: var(--page-gdpr-text-main);
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-gdpr p {
    margin-bottom: 15px;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr a {
    color: var(--page-gdpr-primary-color);
    text-decoration: none;
}

.page-gdpr a:hover {
    text-decoration: underline;
    color: var(--page-gdpr-glow-color);
}

/* Lists */
.page-gdpr__rights-list,
.page-gdpr__data-types-list,
.page-gdpr__data-usage-list,
.page-gdpr__security-measures-list,
.page-gdpr__contact-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-gdpr__rights-list li,
.page-gdpr__data-types-list li,
.page-gdpr__data-usage-list li,
.page-gdpr__security-measures-list li,
.page-gdpr__contact-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__rights-list li::before,
.page-gdpr__data-types-list li::before,
.page-gdpr__data-usage-list li::before,
.page-gdpr__security-measures-list li::before,
.page-gdpr__contact-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--page-gdpr-primary-color);
    font-weight: bold;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-btn-gradient);
    color: #ffffff; /* White text on dark gradient */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--page-gdpr-primary-color);
    border: 2px solid var(--page-gdpr-primary-color);
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--page-gdpr-primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Content Images */
.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    max-width: 800px; /* Limit max width for content images */
}

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

.page-gdpr__faq-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-divider-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--page-gdpr-text-main);
    list-style: none; /* Hide default marker */
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    color: var(--page-gdpr-primary-color);
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate to form an 'X' or '-' */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    color: var(--page-gdpr-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.page-gdpr__faq-answer p:last-child {
    margin-bottom: 0;
}

/* Footer (Placeholder for shared-footer styling, ensuring it respects page-gdpr's dark theme) */
.shared-footer {
    background-color: var(--page-gdpr-bg-color); /* Match body background */
    color: var(--page-gdpr-text-secondary);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--page-gdpr-divider-color);
}

.page-gdpr__copyright {
    font-size: 0.9rem;
    color: var(--page-gdpr-text-secondary);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-image-wrapper {
        max-height: 400px;
    }
    .page-gdpr__hero-image {
        max-height: 400px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        padding-bottom: 40px;
    }
    .page-gdpr__hero-image-wrapper {
        max-height: 300px;
    }
    .page-gdpr__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        max-height: 300px;
    }
    .page-gdpr__hero-content {
        padding: 0 15px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-gdpr__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container for buttons */
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__intro-section,
    .page-gdpr__rights-section,
    .page-gdpr__data-processing-section,
    .page-gdpr__security-section,
    .page-gdpr__cookies-section,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section {
        padding: 40px 0;
    }

    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: 30px;
    }
    .page-gdpr__subsection-title {
        font-size: 1.3rem;
    }

    .page-gdpr__rights-list li,
    .page-gdpr__data-types-list li,
    .page-gdpr__data-usage-list li,
    .page-gdpr__security-measures-list li,
    .page-gdpr__contact-list li {
        padding-left: 25px;
    }

    /* Images responsiveness for content area */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__faq-item summary {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-section {
        padding-bottom: 30px;
    }
    .page-gdpr__hero-image-wrapper {
        max-height: 250px;
    }
    .page-gdpr__hero-image {
        max-height: 250px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.4rem, 7vw, 2.2rem);
    }
    .page-gdpr__hero-description {
        font-size: 0.95rem;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        min-width: unset;
    }
}

/* Ensure no filter is used on images */
.page-gdpr img {
    filter: none;
}