.newsletter-container{
    display: flex;
    padding-bottom: 5rem;
    justify-content: center;
    & .newsletter-wrapper{
        display: flex;
        justify-content: space-between;
        width: 100%;
        max-width: 1700px;
        margin: 0 var(--container-space);
        border-radius: 40px;
        border: 1px solid #ADE55E;
        background: rgba(173, 229, 94, 0.20);
        padding: 4rem;
        & .newsletter-content{
            display: flex;
            flex-direction: column;
            width: 45%;
            & .newsletter-links{
                display: flex;
                flex-direction: column;
                gap: 1rem;
                & a{
                    border-radius: 50px;
                    border: 1px solid var(--wp--preset--color--vert);
                    background: var(--wp--preset--color--blanc);
                    backdrop-filter: blur(5px);
                    padding: 16px 20px;
                    width: fit-content;
                    color: var(--wp--preset--color--vert);
                }
            }
        }
        & .newsletter-form{
            display: flex;
            flex-direction: column;
            width: 45%;
            & .wpcf7{
                display: flex;
                flex-direction: column;
                width: 100%;
                & form{
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                    & .contact-form{
                        display: flex;
                        flex-direction: column;
                        width: 100%;
                        & .contact-wrapper, & .textarea-container{
                            display: flex;
                            width: 100%;
                            padding: 0;
                            justify-content: space-between;
                            &.contact-text{
                                & p{
                                    width: 100%;
                                    font-size: var(--wp--preset--font-size--s-text);
                                    font-weight: 600;
                                }
                            }
                            &.checkbox{
                                display: flex;
                                & p{
                                    display: flex;
                                    width: 100%;
                                    & span{
                                        display: flex;
                                        width: 100%;
                                        & span{
                                            display: flex;
                                            width: 100%;
                                            flex-direction: row;
                                            & span{
                                                display: flex;
                                                width: 50%;
                                                margin: 0;
                                                & label{
                                                    display: flex;
                                                    align-items: center;
                                                    font-size: var(--wp--preset--font-size--s-text);
                                                    & input{
                                                        display: flex;
                                                        width: 18px;
                                                        height: 18px;
                                                        margin-right: 10px;
                                                        border-radius: 4px;
                                                        border: 1px solid var(--wp--preset--color--vert);
                                                        background: var(--wp--preset--color--blanc);
                                                        cursor: pointer;
                                                    }
                                                    & span{
                                                        width: 100%;
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                            & p{
                                display: flex;
                                width: 48%;
                                margin-top: 0;
                                & span{
                                    display: flex;
                                    flex-direction: column;
                                    width: 100%;
                                    & input{
                                        display: flex;
                                        width: 100%;
                                        border-radius: 15px;
                                        border: 1px solid var(--wp--preset--color--vert);
                                        background: var(--wp--preset--color--blanc);
                                        padding: 15px 0px 15px 20px;

                                    }
                                    & textarea{
                                        display: flex;
                                        width: 100%;
                                        border-radius: 15px;
                                        border: 1px solid var(--wp--preset--color--vert);
                                        background: var(--wp--preset--color--blanc);
                                        padding: 15px 0px 15px 20px;
                                        height: 150px;
                                    }
                                }
                            }
                            &.one-input{
                                & p{
                                    width: 100%;
                                }
                            }
                        }
                        & .textarea-container{
                            & p{
                                width: 100%
                            };
                        }
                    }
                }
            }
            & p{
                & .green-btn{
                    display: flex;
                    padding: 8px 8px 8px 15px;
                    align-items: center;
                    border-radius: 60px;
                    background-color: var(--wp--preset--color--vert);
                    color: var(--wp--preset--color--noir);
                    width: fit-content;
                    font-size: var(--wp--preset--font-size--s-text);
                    font-weight: 600;
                    & a{
                        display: flex;
                        align-items: center;
                        gap: 0.5rem;
                        transition: gap 0.3s ease;
                        & span{
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            width: 40px;
                            height: 40px;
                            border-radius: 100%;
                            border: solid 1px var(--wp--preset--color--blanc);
                            background: rgba(255, 255, 255, 0.20);
                            backdrop-filter: blur(5px);
                            &::after{
                                content: '';
                                width: 40px;
                                height: 40px;
                                background: url(../../../assets/svg/btn_arrow_2.svg) no-repeat center center;
                            }
                        }
                    }
                    &:hover{
                        cursor: pointer;
                        & .green-btn{
                            gap: 1.5rem;
                        }
                    }
                }
            }
        }
    }
}
@media (max-width: 576px) {
    .newsletter-container{
        & .newsletter-wrapper{
            flex-direction: column;
            justify-content: center;
            gap: 2rem;
            padding: 2rem;
            & .newsletter-content{
                display: flex;
                flex-direction: column;
                width: 100%;
                & .newsletter-text{
                    & p{
                        & span{
                            font-size: var(--wp--preset--font-size--l-title) !important;
                        }
                    }
                }
                & .newsletter-links{
                    display: flex;
                    flex-direction: column;
                    gap: 1rem;
                    & a{
                        border-radius: 50px;
                        border: 1px solid var(--wp--preset--color--vert);
                        background: var(--wp--preset--color--blanc);
                        backdrop-filter: blur(5px);
                        padding: 16px 20px;
                        width: fit-content;
                    }
                }
            }
            & .newsletter-form{
                width: 100%;
                & .wpcf7{
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                    & form{
                        display: flex;
                        flex-direction: column;
                        width: 100%;
                        & .contact-form{
                            display: flex;
                            flex-direction: column;
                            width: 100%;
                            & .contact-wrapper, & .textarea-container{
                                display: flex;
                                width: 100%;
                                padding: 0;
                                justify-content: space-between;
                                &.contact-text{
                                    & p{
                                        width: 100%;
                                        font-size: var(--wp--preset--font-size--s-text);
                                        font-weight: 600;
                                    }
                                }
                                &.checkbox{
                                    display: flex;
                                    & p{
                                        display: flex;
                                        width: 100%;
                                        & span{
                                            display: flex;
                                            width: 100%;
                                            & span{
                                                display: flex;
                                                width: 100%;
                                                flex-direction: row;
                                                & span{
                                                    display: flex;
                                                    width: 50%;
                                                    margin: 0;
                                                    & label{
                                                        display: flex;
                                                        align-items: center;
                                                        font-size: var(--wp--preset--font-size--s-text);
                                                        & input{
                                                            display: flex;
                                                            width: 18px;
                                                            height: 18px;
                                                            margin-right: 10px;
                                                            border-radius: 4px;
                                                            border: 1px solid var(--wp--preset--color--vert);
                                                            background: var(--wp--preset--color--blanc);
                                                            cursor: pointer;
                                                        }
                                                        & span{
                                                            width: 100%;
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                                & p{
                                    display: flex;
                                    width: 48%;
                                    margin-top: 0;
                                    & span{
                                        display: flex;
                                        flex-direction: column;
                                        width: 100%;
                                        & input{
                                            display: flex;
                                            width: 100%;
                                            border-radius: 15px;
                                            border: 1px solid var(--wp--preset--color--vert);
                                            background: var(--wp--preset--color--blanc);
                                            padding: 15px 0px 15px 20px;

                                        }
                                        & textarea{
                                            display: flex;
                                            width: 100%;
                                            border-radius: 15px;
                                            border: 1px solid var(--wp--preset--color--vert);
                                            background: var(--wp--preset--color--blanc);
                                            padding: 15px 0px 15px 20px;
                                            height: 150px;
                                        }
                                    }
                                }
                                &.one-input{
                                    & p{
                                        width: 100%;
                                    }
                                }
                            }
                            & .textarea-container{
                                & p{
                                    width: 100%
                                };
                            }
                        }
                    }
                }
                & p{
                    & .green-btn{
                        display: flex;
                        padding: 8px 8px 8px 15px;
                        align-items: center;
                        border-radius: 60px;
                        background-color: var(--wp--preset--color--vert);
                        color: var(--wp--preset--color--noir);
                        width: fit-content;
                        font-size: var(--wp--preset--font-size--s-text);
                        font-weight: 600;
                        & a{
                            display: flex;
                            align-items: center;
                            gap: 0.5rem;
                            transition: gap 0.3s ease;
                            & span{
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                width: 40px;
                                height: 40px;
                                border-radius: 100%;
                                border: solid 1px var(--wp--preset--color--blanc);
                                background: rgba(255, 255, 255, 0.20);
                                backdrop-filter: blur(5px);
                                &::after{
                                    content: '';
                                    width: 40px;
                                    height: 40px;
                                    background: url(../../../assets/svg/btn_arrow_2.svg) no-repeat center center;
                                }
                            }
                        }
                        &:hover{
                            cursor: pointer;
                            & .green-btn{
                                gap: 1.5rem;
                            }
                        }
                    }
                }
            }
        }
    }
}
