.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css (#000000) */
}

.page-gdpr__hero-section {
    position: relative;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    text-align: center;
    background-color: #017439; /* Brand primary color for hero */
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

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

.page-gdpr__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-gdpr__intro-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-gdpr__section {
    padding: 60px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-gdpr__dark-bg {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    color: inherit; /* Inherit color from parent section */
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: inherit; /* Inherit color from parent section */
}

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

.page-gdpr__list-item {
    margin-bottom: 10px;
    color: inherit; /* Inherit color from parent section */
}

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

.page-gdpr__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-gdpr__card {
    background-color: #f8f8f8; /* Light background for cards on light sections */
    color: #333333; /* Dark text for cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-gdpr__card-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #017439; /* Brand primary color for card titles */
}

.page-gdpr__card-text {
    font-size: 1em;
    color: #555555;
}

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

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: #f0f0f0;
}

.page-gdpr__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #017439;
}

.page-gdpr__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    font-weight: bold;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #f8f8f8;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large for content */
    padding: 20px 25px;
}

.page-gdpr__faq-answer .page-gdpr__paragraph {
    margin-bottom: 0;
    color: #555555;
}

/* CTA Section */
.page-gdpr__cta-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #017439;
    color: #ffffff;
}

.page-gdpr__cta-content {
    max-width: 900px;
}

.page-gdpr__cta-title {
    font-size: 2.5em;
    margin-bottom: 25px;
    color: #ffffff;
}

.page-gdpr__cta-text {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

.page-gdpr__btn-primary {
    background-color: #B00707; /* Darker red for AA contrast with white */
    color: #ffffff; /* White text for primary button */
    border: 2px solid #B00707;
}

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

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #ffffff; /* White text for secondary button on dark background */
    border: 2px solid #ffffff;
}

.page-gdpr__btn-secondary:hover {
    background-color: #ffffff;
    color: #B00707; /* Red text on white background on hover */
    border-color: #ffffff;
}

.page-gdpr a {
    color: #017439; /* Link color for light sections */
    text-decoration: underline;
}

.page-gdpr__dark-bg a {
    color: #FFFF00; /* Link color for dark sections */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.5em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__main-title {
        font-size: 2em;
    }
    .page-gdpr__intro-text {
        font-size: 1.1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__cta-title {
        font-size: 1.9em;
    }
    .page-gdpr__paragraph, .page-gdpr__list-item, .page-gdpr__card-text {
        font-size: 1em;
    }

    /* Mobile image adaptation */
    .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,
    .page-gdpr__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
    }

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

    /* Mobile button adaptation */
    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__cta-title {
        font-size: 1.7em;
    }
    .page-gdpr__faq-title {
        font-size: 1.1em;
    }
    .page-gdpr__faq-question {
        padding: 15px 20px;
    }
    .page-gdpr__faq-answer {
        padding: 15px 20px;
    }
}