/* 
Theme Name: institut-cribier
Template: hello-elementor 
*/

b, strong {
    font-weight : 700 !important;
}

.home_loop_extrait {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;  /* <-- nombre de lignes */
  overflow: hidden;
}

/* Flip-box : applique le radius au conteneur */
.equipe .elementor-flip-box{
  border-radius: 25px 0 25px 0;
  overflow: hidden; /* important pour que les faces respectent le radius */
}

/* Faces avant/arrière : pour être sûr que ça suit bien le radius */
.equipe .elementor-flip-box__layer,
.equipe .elementor-flip-box__layer__overlay{
  border-radius: 25px 0 25px 0;
}

/*page Campus Rouennais*/
.campus img {
  border-radius : 25px 0px 25px 0px !important;
}

.contact_form .elementor-field-subgroup   {
  display : flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
}

.contact_form .elementor-field-subgroup  .elementor-field-option {
  flex-basis: content !important;
  padding : 0 10px 5px 0;
}

/**********************Formulaire NEWSLETTER*******************************/

.brevo-form-custom {
    margin : 0 auto;
}

.brevo-row {
    display: flex;
    gap: 16px;
}

.brevo-row .brevo-field {
    flex: 1 1 0;
}

.brevo-field {
    margin: 0 0 20px;
}

.brevo-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1f1f1f;
}

.brevo-required {
    color: #d64545;
}

.brevo-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #b8b8b8;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
    background: #fff;
}

.brevo-input:focus {
    outline: none;
    border-color: #1d4f9c;
    box-shadow: 0 0 0 2px rgba(29, 79, 156, 0.08);
}

/* Bloc bas */
.brevo-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-top: 8px;
}

.brevo-bottom-left {
    flex: 1 1 auto;
    min-width: 260px;
}

.brevo-bottom-right {
    flex: 0 0 auto;
    min-width: 304px;
}

.brevo-field--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

.brevo-checkbox {
    margin-top: 4px;
    flex: 0 0 auto;
}

.brevo-checkbox-label {
    font-size: 14px;
    line-height: 1.5;
    color: #1f1f1f;
}

.brevo-checkbox-label a {
    color: #1d4f9c;
    font-weight: 600;
    text-decoration: none;
}

.brevo-checkbox-label a:hover {
    text-decoration: underline;
}

.brevo-field--submit {
    margin-bottom: 0;
}

.brevo-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 13px 22px;
    border: 1px solid #e95f5a;
    border-radius: 12px;
    background: #ef6d67;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s ease;
}

.brevo-submit-btn:hover {
    background: #e45d57;
    transform: translateY(-1px);
}

/* ReCAPTCHA */
.brevo-captcha {
    display: flex;
    justify-content: flex-end;
}

.brevo-captcha > div {
    max-width: 100%;
}

@media (max-width: 900px) {
    .brevo-bottom-row {
        flex-direction: column;
    }

    .brevo-bottom-right {
        min-width: auto;
    }

    .brevo-captcha {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .brevo-row {
        flex-direction: column;
        gap: 0;
    }
}