.home .fluid_content {
    padding-left: 0 ! important;
    padding-right: 0 !important;
}
.home .fluid_content  > .wp-block-group,
.home .our_purpose > .wp-block-column:not(:has(figure)) {
    padding-left: 29px !important;
    padding-right: 29px !important;
    @media screen and (min-width: 1280px) {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

p.custom-paragraphe,
.custom-title3 {
    max-width: 1000px !important;
    margin: 0 auto;
}

.custom-title3 {
    max-width: 1000px !important;
}

.mission-colonne-flex {
    display: flex;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 25px;
}

.mission-part-img {
    flex: 0 0 30%;
    padding: 0 25px 0 0;
}

.mission-part-content {
    flex: 0 0 60%;
    margin: 0;
}

span.custom-number {
    font-size: 48px;
    font-weight: 500;
    padding-right: 30px;
}

.mission-sectiion {
    clear: both;
}

.card-block p {
    max-width: 343px;
}

.listing-projects h4.wep-card-title a {
    color: #2c2c2c !important;
}

.listing-projects .wep-card.wep-card-horizontal {
    background: transparent;
    padding: 20px;
    border: 1px solid #E3E3E3;
    border-radius: 8px;
}

.listing-projects .wep-card-text p {
    color: #EC221F !important;
    margin-bottom: 20px !important;
    max-width: 840px !important;
}

.listing-projects a.wep-btn.wep-btn-primary {
    background: #767676 !important;
    font-size: 14px !important;
}

.listing-projects .wep-card-img {
    border-radius: 0 !important;
}

.check-icon-container {

    width: auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.check-icon {
    background-color: white;
    color: #00566D;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.case-table {

    gap: 8px !important;
    margin-top: 0 !important;
}

.case-table>div:not(:first-child) {
    margin-bottom: 2px !important;
}

.first-td {
    border: 2px solid #0f9b8c;
    border-bottom: none;
    margin-bottom: 0 !important;
    padding: 10px;
    position: relative;
}

.for-border-green {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

.last-border {
    border-bottom: 2px solid #0f9b8c;
}

.for-top-border {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

.wpcf7 form .form-row {
    display: flex;
    gap: 20px;
}

.wpcf7 form .form-group {
    margin-bottom: 20px;
}

.wpcf7 form .form-group.half {
    flex: 1;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 18px;
    box-sizing: border-box;
}

.wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7 input[type="submit"] {
    background-color: #000;
    color: white;
    padding: 16px 30px;
    font-size: 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #333;
}

.form-group legend,
.form-group label {
    font-size: 18px;
}

/* Style principal de la carte blog */
.pfg_theme_1 {
    margin-bottom: 30px;
}

.bf_thumb_box_1 {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.bf_thumb_box_1:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Image */
.portfolio_thumbnail,
.snip1550,
.fit-in-content {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
}

.portfolio_thumbnail {
    display: block;
}

.snip1550,
.fit-in-content {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
}

/* Titre */
.bf_title_box_1 {
    padding: 20px 20px 0 20px;
}

.bf_title_1 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

/* Container des métadonnées */
.bf_title_box_2 {
    padding: 0 20px 20px 20px;
}

/* Date et métadonnées */
.metaInfo {
    margin-bottom: 10px;
}

.metaInfo span {
    font-size: 14px;
    color: #2dd4bf;
    /* Couleur turquoise pour la date */
    font-weight: 500;
}

.metaInfo i {
    margin-right: 6px;
    color: #2dd4bf;
}

.metaInfo a {
    color: #2dd4bf;
    text-decoration: none;
}

.metaInfo a:hover {
    text-decoration: underline;
}

/* Badge Event (si vous ajoutez une classe pour ça) */
.event-badge {
    display: inline-block;
    background: #f0f9ff;
    color: #0369a1;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin: 10px 0;
    border: 1px solid #bae6fd;
}

/* Description */
.bf_desc_1 {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    margin: 15px 0 20px 0;
}

/* Bouton Read More */
.bf_read_more_div_1 {
    margin-top: auto;
    padding-top: 10px;
}

.bf_read_more_1 {
    display: inline-flex;
    align-items: center;
    background: #2dd4bf;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.bf_read_more_1:hover {
    background: #14b8a6;
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-1px);
}

.bf_read_more_1 i {
    margin-left: 8px;
    font-size: 12px;
}

.bf_read_more_1 span {
    color: inherit;
}

/* Responsive */
@media (max-width: 768px) {
    .bf_title_1 {
        font-size: 18px;
    }

    .bf_title_box_1,
    .bf_title_box_2 {
        padding-left: 15px;
        padding-right: 15px;
    }

    .portfolio_thumbnail,
    .snip1550,
    .fit-in-content {
        height: 180px;
    }
}

/* Pour la grille Bootstrap */
.pfg_theme_1[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Hover effects existants */
.hvr-shadow-radial {
    position: relative;
}

.hvr-shadow-radial:hover {
    box-shadow: 0 0 20px #fdeeff;
}


.bf_title_box_1 {
    position: relative;
}

img.portfolio_thumbnail {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
    max-height: 145px;
    margin: 0;
}

.bf_thumb_box_1.hvr-shadow-radial {
    padding: 0;
}

#bf_gallery_1 .portfolio_thumbnail {
    padding: 0 !important;
}

h3.bf_title_1 {
    font-size: 20px !important;
    text-align: center;
    padding: 20px 0 0 0 !important;
    margin: 0 !important;
    font-weight: bold;
    min-height: 72px;
}

.bf_title_box_2 .metaInfo {
    display: block;
    text-align: center;
}

.bf_desc_1 {
    text-align: center;
}

.bf_read_more_div_1 {
    text-align: center !important;
}

.englobe {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    margin: 0 25px !important;
}

ul.simplefilter {
    margin-bottom: 50px;
}

.metaInfo>span {
    display: inline-block;
    margin-right: 6px;
    color: inherit;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    border: 1px solid #00998b;
    font-size: 14px;
    color: #00998b;
    padding: 3px 5px;
    display: inline-block;
    margin-bottom: 5px;
}



.metaInfo {
    margin-top: 10px;
    margin-bottom: 0 !important;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    display: block !important;
    text-align: center !important;
}


.custom-form-fields {
    display: flex;
    justify-content: center;
}

/* .custom-form-fields p {
    display: inline-flex;
} */

.custom-form-fields .wpcf7-email {
    max-width: 250px !important;
}

.custom-email-input {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 8px 0 0 8px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
}

.custom-submit-button {
    padding: 10px 20px;
    border: none;
    background-color: #2f2f2f;
    color: white;
    font-size: 16px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-submit-button:hover {
    background-color: #333 !important;
}

.custom-submit-button {
    background-color: #000 !important;
    color: white !important;
    padding: 10px 4px !important;
    font-size: 18px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    width: 100% !important;
    max-width: 77px !important;
    height: 40px !important;
}

.buttons-cpt {
    text-align: center;
    display: flex;
    justify-content: center;
    max-width: 300px !important;
}

p.btn-filter-white a {
    color: #303030;
    background: #fff;
    padding: 10px 35px;
    border-radius: 8px;
}

p.btn-filter-dark a {
    color: #fff;
    background: #303030;
    padding: 10px 35px;
    border-radius: 8px;
}
