.blog_home_newsletter_container {
    padding: 2rem 1rem;
    margin: 2rem 0;
    min-width: 100%;
    background-color: var(--brand-white);
}
.blog_home_newsletter__title_contianer {
    display: flex;
    gap: 24px;
    flex-direction: column;
    align-items:center
}
.blog_home_newsletter__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.625rem;
    text-align: center;
    /*text-transform: uppercase;*/
    color: var(--brand-black);
    padding-bottom: 2%;
    font-family: Montserrat;
}

.blog_home_newsletter_title_container {
    background-color: var(--gray-dark-5);
    padding: 50px;
    gap: 40px;
}

.blog_home_newsletter__subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 22.63px;
    text-align: center;
    /*text-transform: uppercase;*/
    color: var(--brand-black);
    font-family:Montserrat;
}
/* Form */
.blog_home_newsletter_form_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    width: 925px;
    height: 452px;
    margin: 0 auto;
}

.blog_home_newsletter__form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    padding-top: 2.5rem;
    height: 452px;
    width: 925px;
    margin: 0 auto;
    text-align: center;
    font-family: var(--font-family-1-1);
}


.blog_home_newsletter__form__drop_down {
    background-color: var(--gray-dark-5) !important;
    border: unset !important;
    border-bottom: 1px solid !important;
    border-radius: 0 !important;
    font-family: var(--font-family-1-1);
    color: var(--gray-dark-1);
}

.blog_home_newsletter__form__input_text:focus,
.blog_home_newsletter__form__input_text:focus-within,
.blog_home_newsletter__form__input_text:target,
.blog_home_newsletter__form__input_text:visited,
.blog_home_newsletter__form__input_text {
    padding: 0.625rem 0.75rem;
    width: 100%;
    font-size: 1rem;
    border: none;
    border-bottom: 1px solid var(--gray-dark-1, #414141);
    background: transparent;
    outline: none;
    font-family: var(--font-family-1-1);
    color: var(--gray-dark-1);
    transition: all 0.6s linear;
    background-color: var(--gray-dark-5);
}
.blog_home_newsletter__form__input_text:active,
.blog_home_newsletter__form__input_text:hover {
  border-bottom-color: var(--brand, #414141);
  box-shadow: 0 1px 0 0 transparent, 0 1px 0 0 var(--brand, #414141);
}
.blog_home_newsletter__form__group_checkbox {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.blog_home_newsletter__form__group_checkbox__input {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--gray-dark-1, #414141);
  background: var(--brand);
}
.blog_home_newsletter__form__group_checkbox__label {
  font-size: 1rem;
  line-height: 1.375rem;
  color: var(--gray-dark-1, #414141);
}

.blog_home_newsletter__form__submit {
    
    width: 450px;
    height: 60px;
    border: none;
    padding:8px,32px,8px,32px;
    background: rgba(0, 0, 0,1);
    color: var(--brand-white, #fff);
    font-weight: 700;
    text-align: center;
    /*text-transform: uppercase;*/
    letter-spacing: 1px;
    font-family: var(--font-family-0-regular);
    font-size: var(--title-6);
    width: 450px;
    height: 60px;
    justify-content: center;
    align-items: center;
    margin: 0 auto; 
    gap: 8px;
}

.btn__primary {
    border-radius: var(--button-border-radius);
    width: 450px;
    height: 60px;
    border: none;
    padding: 8px,32px,8px,32px;
    background: rgba(0, 0, 0,1);
    color: var(--brand-white, #fff);
    font-weight: 700;
    text-align: center;
    /*text-transform: uppercase;*/
    letter-spacing: 1px;
    font-family: var(--font-family-0-regular);
    font-size: var(--title-6);
    width: 450px;
    height: 60px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    gap: 8px;
}
.btn__primary:hover {
    opacity: 40%;
}
    .btn__primary:disabled {
     
        opacity: 0.4;
    }

.blog_home_newsletter__form__submit-container {
    display: flex; 
    justify-content: center; 
    align-items: center;
    height: 100%; 

}
blog_home_newsletter__form__submit:hover {
    opacity: 40%;
}
}

.blog_home_newsletter__form__submit:disabled {
    opacity: 40%;
}

.blog_home_newsletter__message_success,
.blog_home_newsletter__message_error {
    color: var(--alert-success-email, #318234);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: normal;
}
.blog_home_newsletter__message_error {
    color: var(--alert-error-main, #D32F2F);
}

/* 
* Custom Checkbox
*/
.checkbox_input {
  display: none;
}
.checkbox_input + .checkbox_input__label {
  position: relative;
  display: flex;
  cursor: pointer;
  padding: 24px 0;

}

.checkbox_input + .checkbox_input__label .checkbox_input__label__icon_box {
    position: relative;
    width: 1.375rem;
    height: 1.375rem;
    padding-left: 2.125rem;
}

.checkbox_input + .checkbox_input__label .checkbox_input__label__icon_box:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.375rem;
  height: 1.375rem;
  border: 2px solid #414141;
  border-radius: 2px;
  background-color: transparent;
  transition: all 0.6s;
}

.checkbox_input:checked + .checkbox_input__label .checkbox_input__label__icon_box:before {
  background-color: var(--brand);
  border: 2px solid var(--brand);
}

.checkbox_input + .checkbox_input__label .checkbox_input__label__icon_box:after {
  content: "✔";
  font-size: 1.2rem;
  color: var(--brand-white);
  position: absolute;
  top: calc(50% + 0.05rem);
  left: calc(50% - 0.4rem);
  transform: translate(-50%, -50%);
  opacity: 0;
}

.checkbox_input:checked + .checkbox_input__label .checkbox_input__label__icon_box:after {
  opacity: 1;
}



/* 
* Medias
*/
@media (max-width: 320px) {

    .blog_home_newsletter__form {
        padding: 20px;
        gap: 20px;
        width: 90%; /* Use most of the screen */
        margin: 0 auto;
        height: auto; /* Let the height adjust naturally */
    }

    .blog_home_newsletter__title {
        font-size: 26px;
        font-weight: 700;
        line-height: 31.69px;
        text-align: center;
        /*text-transform: uppercase;*/
        color: var(--brand-black);
    }

    .blog_home_newsletter__subtitle {
        font-size: 14px;
        font-weight: 400;
        line-height: 17.6px;
        text-align: center;
        /*text-transform: uppercase;*/
        color: var(--brand-black);
    }
}

@media (max-width: 768px) {

    .blog_home_newsletter__title {
        font-size: 26px;
        width: auto;
        line-height: 31.69px;
        font-weight:700;
        text-align:center;
    }
    .blog_home_newsletter__form {
        padding: 20px;
        gap: 20px;
        width: 90%; /* Use most of the screen */
        margin: 0 auto;
        height: auto; /* Let the height adjust naturally */
    }
    .blog_home_newsletter__form__submit{
        width:100%;
    }

  
}
@media (min-width: 768px) {

 
   
    aside {
        min-width: 16rem;
    }
}
@media (min-width: 1366px) {
  .blog_home_newsletter_container {
    padding: 2rem 1.25rem;
  }

    aside {
        min-width: 27.5rem;
    }
}
@media (min-width: 1920px) {
  .blog_home_newsletter_container {
    padding: 2rem;
  }
}

@media (max-width: 925px) {
    .blog_home_newsletter_form_container {
        padding: 20px 0;
        width: 100%; /* Adjusts to most of the screen width */
        height: auto; /* Let the height adjust naturally */
        margin: 0 auto;
    }

    .blog_home_newsletter__form {
        padding: 2.5rem 0 20px 0;
        gap: 20px;
        width: 90%; /* Adjusts to most of the screen width */
        margin: 0 auto;
        height: auto; /* Let the height adjust naturally */
    }

    .btn__primary {
        width: 100%;
    }

    .blog_home_newsletter__form__submit {
        width: 100%; /* Full width for the button */
        padding: 1rem 0; /* Adjust padding */
        font-size: 1rem; /* Adjust font size for smaller screens */
        margin: 0 auto;
        height: 50px; /* Adjust height for mobile responsiveness */
        font-family: Montserrat;
    }
}

/* Above 925px, retain the original size */
@media (min-width: 926px) {
    .blog_home_newsletter_form_container {
        width: 925px; /* Set to the original width */
        height: 452px; /* Set to the original height */
        margin: 0 auto;
    }

    .blog_home_newsletter__form {
        width: 925px; /* Set to the original width */
        height: 452px; /* Set to the original height */
    }

    .blog_home_newsletter__form__submit {
        width: 450px; /* Keep the original width */
        height: 60px; /* Keep the original height */
    }
}
