:root {
    --contact-banner-form-margin: 60px;
}

@media (max-width: 1024px) {
    :root {
        --contact-banner-form-margin: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --contact-banner-form-margin: 30px;
    }
}

/* section banner */
.page_contact_banner {
    display: flex;
    justify-content: center;
    width: 100%;
    background: #C80023;
}

.page_contact_banner_sz {
    display: block;
    width: calc(100% - 20px);
    max-width: 1280px;
    text-align: center;
    margin: 32px 0 calc(32px + var(--contact-banner-form-margin)) 0;

    color: #FFFFFF;
    font-family: "Source Serif 4", serif;
    font-weight: 600;
    font-size: 38px;
    line-height: 1.3;
}

/* Responsive - Tablettes */
@media (max-width: 1024px) {
    .page_contact_banner_sz {
        font-size: 32px;
    }
}

/* Responsive - Mobiles */
@media (max-width: 768px) {
    .page_contact_banner_sz {
        font-size: 24px;
        margin: 24px 0 calc(24px + var(--contact-banner-form-margin)) 0;
    }
}


/* section form */
.page_contact_form {
    display: flex;
    justify-content: center;
    margin-bottom: calc(-1 * var(--contact-banner-form-margin));
    background: #F2F4F5;
    padding-bottom: 100px;
}

.page_contact_form_sz {
    display: flex;
    width: calc(100% - 20px);
    justify-content: center;
    max-width: 800px;
    background: #FFFFFF;
    min-height: calc(2 * var(--contact-banner-form-margin));
    position: relative;
    top: calc(-1 * var(--contact-banner-form-margin));
}

.page_contact_form_sz .the_content_elementor {
    display: flex;
    width: 100%;
    justify-content: center;
}

.page_contact_form_sz .the_content_elementor_sz {
    display: flex;
    width: calc(100% - 20px);
    flex-direction: column;
    max-width: 670px;
    padding: 50px 0;
}

.page_contact_form_sz .the_content_elementor .the_content_elementor_sz > p {
    display: block;
    width: 100%;
    color: #000000cc;
    font-family: "Source Serif 4", serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
}

.contact_form_line {
    margin-top: 24px;
}

.contact_form_line_100 {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.contact_form_line_50 {
    display: flex;
    width: 100%;
    gap: 20px;
}

.contact_form_line_50_unit {
    display: flex;
    width: calc(50% - 10px);
    flex-direction: column;
}

.contact_form_line_unit_label,
.contact_form_line_unit_input {
    width: 100%;
}

.contact_form_line_unit_label {
    color: #000000;
    font-family: "Source Serif 4", serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    margin-bottom: 10px;
}

.contact_form_line_unit_input input,
.contact_form_line_unit_input textarea {
    display: flex;
    width: 100%;
    color: #000000;
    font-family: "Source Serif 4", serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    margin: 0;
    padding: 12px 0;
    border: 1px solid #43434366;
    border-radius: 10px;
    text-indent: 10px;
    outline: none;
}

.contact_form_line_unit_input input::placeholder,
.contact_form_line_unit_input textarea::placeholder {
    color: #000000cc;
    font-family: "Source Serif 4", serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
}

#the_content_elementor_193 .wpcf7-submit {
    background: #C80023;
    font: 600 20px/1 "Source Serif 4", serif;
    margin: 0;
    color: #FFFFFF;
    padding: 18px 36px;
    border-radius: 40px;
    outline: none;
    cursor: pointer;
    border: none;
}

#the_content_elementor_193 .wpcf7-submit:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .page_contact_form {
        padding-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .contact_form_line_100,
    .contact_form_line_50 {
        display: flex;
        width: 100%;
        flex-direction: column;
    }

    .contact_form_line_50_unit {
        width: 100%;
    }
}


/* section globaleaks */
/* Desktop First Approach */
.page_contact_gl {
    display: flex;
    width: 100%;
    justify-content: center;
    background: #C80023;
}

.page_contact_gl_sz {
    display: flex;
    width: calc(100% - 20px);
    max-width: 1280px;
    margin: 0;
}

.page_contact_gl_left {
    display: flex;
    width: 30%;
    justify-content: center;
    align-items: center;
    background-image: url("/wp-content/themes/malina/assets/img/faire_un_don.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom
}

.page_contact_gl_right {
    display: flex;
    width: 70%;
    flex-direction: column;
    padding: 70px 0px 90px 0px;
}

.page_contact_gl_right_logo {
    display: block;
    width: 100%;
}

.page_contact_gl_right_logo img {
    height: auto;
    max-width: 50%;
}

.page_contact_gl_right_paragraph {
    line-height: 1.5;
    font-family: "IBM Plex Sans", serif;
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
    margin-top: 40px;
    text-align: justify;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page_contact_gl_sz {
        flex-direction: column-reverse;
        align-items: center;
        margin: 50px 0px 70px 0px;
    }

    .page_contact_gl_left,
    .page_contact_gl_right {
        width: 100%;
        padding: 0;
        background-image: unset;
    }

    .page_contact_gl_right_logo img {
        max-width: 70%;
    }

    .page_contact_gl_right_paragraph {
        margin-top: 30px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .page_contact_gl_sz {
        margin: 30px 0px 30px 0px;
    }

    .page_contact_gl_right_logo img {
        max-width: 80%;
    }

    .page_contact_gl_right_paragraph {
        margin-top: 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page_contact_gl_right_logo img {
        max-width: 100%;
    }

    .page_contact_gl_right_paragraph {
        margin-top: 15px;
    }
}

.contact_don {
    display: flex;
    background: #000000;
    border: 1px solid #000000;
    align-items: center;
    padding: 20px 24px;
    border-radius: 40px;
    text-decoration: none !important;
    transition: all 345ms ease;
}

.contact_don svg {
    display: inline-block;
    width: 20px;
    height: auto;
}

.contact_don svg path {
    fill: #C80023;
    transition: all 345ms ease;
}

.contact_don span {
    line-height: 1;
    font-family: "IBM Plex Sans", serif;
    font-weight: 600;
    font-size: 20px;
    color: #FFFFFF;
    margin-left: 10px;
    transition: all 345ms ease;
}

.contact_don:hover {
    border: 1px solid #FFFFFF;
    background: #FFFFFF;
}

.contact_don:hover span {
    color: #C80023;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .contact_don {
        width: calc(100% - 40px);
        justify-content: center; /* Centrage du bouton */
        margin-top: 20px; /* Marge naturelle ajoutée */
    }
}

@media (max-width: 768px) {
    .contact_don {
        padding: 15px 20px; /* Taille réduite pour petits écrans */
    }
}
