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

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    background-color: #017439; /* Brand primary color */
    color: #FFFFFF; /* White text for dark background */
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below header */
}

.page-gdpr__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.page-gdpr__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

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

.page-gdpr__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    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: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding and border in the element's total width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-gdpr__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

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

.page-gdpr__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Brand primary color */
    border: 2px solid #FFFFFF;
}

.page-gdpr__btn-secondary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

.page-gdpr__section {
    padding: 60px 20px;
    background-color: #FFFFFF;
    color: #333333;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #017439; /* Brand primary color */
}

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

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

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

.page-gdpr__dark-section .page-gdpr__section-title {
    color: #FFFFFF;
}

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

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

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

.page-gdpr__card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
    transition: transform 0.3s ease;
}

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

.page-gdpr__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

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

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

.page-gdpr__feature-card {
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    color: #333333;
}

.page-gdpr__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-gdpr__feature-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #017439; /* Brand primary color */
}

.page-gdpr__feature-text {
    font-size: 0.95em;
    text-align: justify;
}

.page-gdpr__light-bg {
    background-color: #f5f5f5; /* Light grey background */
    color: #333333;
}

.page-gdpr__contact-info {
    margin-top: 30px;
    text-align: center;
}

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

.page-gdpr__contact-link {
    color: #017439; /* Brand primary color for links */
    text-decoration: none;
    font-weight: bold;
}

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

.page-gdpr__faq-list {
    margin-top: 40px;
}

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

.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;
    background-color: #f0f0f0;
    color: #017439; /* Brand primary color */
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-question h3 {
    margin: 0;
    color: inherit;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    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, padding 0.3s ease;
    background-color: #FFFFFF;
    color: #333333;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.5em;
    }
    .page-gdpr__hero-description {
        font-size: 1.1em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is below header on mobile */
    }
    .page-gdpr__hero-title {
        font-size: 2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__section {
        padding: 40px 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__paragraph,
    .page-gdpr__list-item,
    .page-gdpr__card-text,
    .page-gdpr__feature-text {
        font-size: 0.95em;
    }
    .page-gdpr__grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__card-image {
        height: auto;
        max-width: 100% !important;
        width: 100% !important;
        min-width: 200px;
        min-height: 200px;
        box-sizing: border-box !important;
    }
    .page-gdpr__feature-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px;
        min-height: 200px;
        box-sizing: border-box !important;
    }
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
    .page-gdpr__faq-question,
    .page-gdpr__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__faq-answer {
        overflow-x: hidden;
    }
}

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