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

/* Fixed header offset */
.page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset to the first section */
    position: relative;
    overflow: hidden;
    background-color: #26A9E0;
    color: #FFFFFF;
    text-align: center;
    padding-bottom: 60px;
}

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

.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: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__btn-primary {
    display: inline-block;
    background-color: #EA7C07; /* Login/Register color */
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
}

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

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    max-width: 1000px; /* Adjust based on hero section layout */
    margin-top: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.page-gdpr__content-section {
    padding: 60px 0;
}

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

.page-gdpr__dark-bg {
    background-color: #26A9E0;
    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__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

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

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

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Content images can be smaller */
    margin: 30px auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-gdpr__card {
    background-color: #FFFFFF;
    color: #333333;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
}

.page-gdpr__card-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #26A9E0;
}

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

.page-gdpr__contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.page-gdpr__contact-item a {
    color: #26A9E0;
    text-decoration: none;
}

.page-gdpr__contact-item a:hover {
    text-decoration: underline;
}

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

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 0;
}

.page-gdpr__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: #333333;
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    color: inherit;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

.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, padding 0.3s ease;
    background-color: #FFFFFF;
    color: #555555;
}

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

.page-gdpr__faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.2em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__intro-text {
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__card-text,
    .page-gdpr__contact-item,
    .page-gdpr__faq-question h3,
    .page-gdpr__faq-answer p {
        font-size: 15px;
    }

    /* Images responsive */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__hero-image,
    .page-gdpr__content-image {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Buttons responsive */
    .page-gdpr__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px !important; /* Adjust padding for full width */
        margin-bottom: 10px; /* Add space between stacked buttons if any */
    }
    .page-gdpr__cta-section .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__card-grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__faq-question {
        padding: 15px 20px;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 10px 20px;
    }
}

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