.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light background */
    background-color: var(--background-color, #FFFFFF); /* Ensure light background for main content */
}

/* Fixed Header Spacing */
.page-gdpr {
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 500px;
    padding: 80px 20px;
    overflow: hidden;
    color: #FFFFFF; /* White text on dark background */
    background-color: #26A9E0; /* Brand primary color */
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 0;
}

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

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-gdpr__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-gdpr__section {
    padding: 60px 20px;
}

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

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

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

.page-gdpr__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: inherit;
}

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

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.page-gdpr__ordered-list {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-gdpr__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Important for button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

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

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

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

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

.page-gdpr__cta-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #26A9E0;
    color: #FFFFFF;
}

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

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

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

.page-gdpr__link {
    color: #EA7C07; /* Login color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: #d16b06;
}

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

.page-gdpr__faq-item {
    background-color: #F8F8F8;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__dark-bg .page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: inherit;
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-item[open] > .page-gdpr__faq-question {
    background-color: #EFEFEF;
}

.page-gdpr__dark-bg .page-gdpr__faq-item[open] > .page-gdpr__faq-question {
    background-color: rgba(255, 255, 255, 0.15);
}

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

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

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.05em;
    color: inherit;
}

.page-gdpr__faq-answer p {
    margin-bottom: 10px;
}

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


/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.8em;
    }
    .page-gdpr__hero-description {
        font-size: 1.2em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.6em;
    }
    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__faq-question,
    .page-gdpr__faq-answer {
        font-size: 1em;
    }
}

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

    /* Fixed Header Spacing for mobile */
    .page-gdpr {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-gdpr__hero-section {
        min-height: 400px;
        padding: 60px 15px;
    }
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1.1em;
    }
    .page-gdpr__section {
        padding: 40px 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__sub-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    /* Image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers with images/content */
    .page-gdpr__section,
    .page-gdpr__container,
    .page-gdpr__hero-content,
    .page-gdpr__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .page-gdpr__image-content {
        margin-left: auto;
        margin-right: auto;
    }

    /* Button responsiveness */
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important; /* Reset margin for stacking */
        margin-bottom: 15px; /* Add space between stacked buttons */
    }

    .page-gdpr__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 0 !important; /* Reset gap for column layout */
    }

    .page-gdpr__cta-section {
        padding: 60px 15px;
    }

    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }
    .page-gdpr__list, .page-gdpr__ordered-list {
        margin-left: 15px;
    }
    .page-gdpr__list-item {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__sub-title {
        font-size: 1.2em;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
}