.page-gdpr {
    background-color: #FFFFFF; /* Custom background color for GDPR page */
    color: #333333; /* Default text color */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding to avoid double header offset */
}

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

.page-gdpr__hero-section {
    position: relative;
    background-color: #017439; /* Primary color for hero background */
    color: #FFFFFF;
    padding-bottom: 40px; /* Space below content */
    display: flex;
    flex-direction: column; /* Ensure image is above text */
    align-items: center;
    text-align: center;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 400px; /* Limit height of the hero image */
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-gdpr__hero-content {
    padding: 20px;
    max-width: 800px;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-gdpr__main-title {
    font-size: clamp(2rem, 4vw, 3rem); /* Responsive font size for H1 */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-gdpr__intro-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-gdpr__content-section {
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.page-gdpr__content-section:last-of-type {
    border-bottom: none;
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem); /* Responsive font size for H2 */
    font-weight: bold;
    color: #017439; /* Primary color for section titles */
    margin-bottom: 25px;
    text-align: center;
}

.page-gdpr__paragraph {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #333333;
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #333333;
}

.page-gdpr__list-item {
    margin-bottom: 10px;
    font-size: 1rem;
}

.page-gdpr__image-text-block {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}

.page-gdpr__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__content-image {
    flex: 0 0 40%;
    max-width: 40%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-gdpr__image-text-block .page-gdpr__paragraph,
.page-gdpr__image-text-block .page-gdpr__list {
    flex: 1;
    margin-bottom: 0; /* Adjust margin for flex layout */
}

.page-gdpr__contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.page-gdpr__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
    font-size: 1rem;
}

.page-gdpr__button--contact {
    background-color: #C30808; /* Register/Login color for contact button */
    color: #FFFF00; /* Register/Login font color */
    border: none;
}

.page-gdpr__button--contact:hover {
    background-color: #a00606;
}

.page-gdpr__button--secondary {
    background-color: #017439; /* Primary color for secondary buttons */
    color: #FFFFFF;
    border: 1px solid #017439;
}

.page-gdpr__button--secondary:hover {
    background-color: #005a2e;
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-gdpr__image-text-block {
        flex-direction: column;
        align-items: center;
    }

    .page-gdpr__image-text-block--reverse {
        flex-direction: column; /* Also column for reverse on mobile */
    }

    .page-gdpr__content-image {
        max-width: 100%;
        flex: none;
    }
}

@media (max-width: 768px) {
    .page-gdpr__container {
        padding: 15px;
    }

    .page-gdpr__hero-image {
        max-height: 300px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-gdpr__intro-text {
        font-size: 1rem;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .page-gdpr__paragraph,
    .page-gdpr__list-item {
        font-size: 0.95rem;
    }

    .page-gdpr__content-image {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto; /* Maintain aspect ratio */
        min-width: 200px; /* Ensure min size */
        min-height: 200px; /* Ensure min size */
    }

    .page-gdpr__contact-links {
        flex-direction: column;
        align-items: center;
    }

    .page-gdpr__button {
        width: 100%;
        max-width: 300px; /* Constrain button width on mobile */
    }
    .page-gdpr {
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
}

@media (max-width: 549px) {
    .page-gdpr__hero-image {
        max-height: 250px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }
    .page-gdpr__button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}