/*   
Theme Name: Morency Avocats
Theme URI: Morency Avocats
Description: This is an exclusive, fully SEO optimized Wordpress theme developed by Morency Avocats for Morency Avocats website.
Author: Morency Avocats
Author URI: Morency Avocats
*/

/* Inter (Google Fonts, licence OFL), hébergée ici : l'IP des visiteurs ne part pas
   chez Google (Loi 25). Remplace Die Grotesk le 2026-10-02 [MA-25] : les fichiers
   Klim étaient des versions d'ESSAI sans lettres accentuées (é, ç en police de secours). */
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-latin-ext.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*************Globle Css ************/
body{
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.05em;   /* Inter est plus large : -5 % pour occuper l'espace de Die Grotesk (Eric, 02/10) */
    font-weight: 400;
    overflow-x: hidden;
    font-size: 18px;
    color: #0B0506;
    line-height: 1.3;
}
body.toggleBody{
    overflow: hidden;
}
body a:hover, body a:active, body a:focus {
    opacity: 1;
    text-decoration: none;
    color: inherit;
}
body a{
    color: inherit;
    text-decoration: none;
}
body h1, body .h1, body h2, body .h2, body h3, body .h3, body h4, body .h4, body h5, body .h5, body h6, body .h6{
    color: inherit;
    font-weight: 400;
}
body h1, body .h1{
    font-size: 80px;
    /*font-family: 'grotesk_C_R', sans-serif;*/
}
.font48, .font48 p{
    font-size: 48px;
    /*font-family: 'grotesk_B_R', sans-serif;*/
}
.textLead, .textLead p,
body h2, body .h2{
    font-size: 40px;
    /*font-family: 'grotesk_B_R', sans-serif;*/
}
body h3, body .h3,
.font32, .font32 p{
    font-size: 32px;
    /*font-family: 'grotesk_B_R', sans-serif;*/
}
body h4, body .h4,
.font24, .font24 p{
    font-size: 24px;
    /*font-family: 'grotesk_A_R', sans-serif;*/
}

.font18, .font18 p{
    font-size: 18px;
    /*font-family: 'grotesk_A_R', sans-serif;*/
}
.font16, .font16 p{
    font-size: 16px;
    /*font-family: 'grotesk_A_R', sans-serif;*/
}
.font14, .font14 p{
    font-size: 14px;
    /*font-family: 'grotesk_A_R', sans-serif;*/
}
.font12, .font12 p{
    font-size: 12px;
    /*font-family: 'grotesk_A_R', sans-serif;*/
}
.font_L, .font_L *{
    font-weight: 300;
}
.font_R, .font_R *{
    font-weight: 400;
}
.font_M, .font_M *{
    font-weight: 500;
}
strong, b, .font_B, .font_B *{
    font-weight: 600;
}
/*------------------------------------------------*/

body .bgLightGray{
    background-color: #EFEEEF80;
}
body .bgGray{
    background-color: #efeeef;
}
body .bgWhite{
    background-color: #fff;
}
body .textGray{
    color: #6C6C6C;
}
body .textLightGray{
    color: #949494;
}
body .textWhite{
    color: #fff;
}
.rds8{
    border-radius: 8px;
}
.rds12{
    border-radius: 12px;
}
img{
    max-width: 100%;
    height: auto;
}
.padding_xl{
    padding-top: 160px;
    padding-bottom: 160px;
}
.padding_lg{
    padding-top: 120px;
    padding-bottom: 120px;
}
.padding_md{
    padding-top: 80px;
    padding-bottom: 80px;
}
.padding_sm{
    padding-top: 50px;
    padding-bottom: 50px;
}
.padding_xs{
    padding-top: 30px;
    padding-bottom: 30px;
}
.gap_xl{
    gap: 160px;
}
.gap_lg{
    gap: 120px;
}
.gap_md{
    gap:80px;
}
.gap_sm{
    gap:50px;
}
.gap_xs{
    gap:30px;
}
.colGap_60{
    margin-right: -30px;
    margin-left: -30px;
}
.colGap_60 > div{
    padding-right: 30px;
    padding-left: 30px;
}
.rowGap60{
    row-gap:60px;
}
.bgCover{
    background-size: cover;
    background-position: center center;
}
ul li{
    list-style: none;
}
ul{
    padding-left: 0;
}

.styleUL ul {
    list-style: none;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
}
.styleUL ul li {
    list-style: disc;
    padding-bottom: 8px;
}
.styleUL_2 ul {
    list-style: none;
    margin-bottom: 0.5rem;
    padding-left: 0;
}
.styleUL_2 ul li {
    list-style: none;
    padding: 16px 0;
    padding-left: 20px;
    border-top: 1px solid #DCDCDC;
    position: relative;
}
.styleUL_2 ul li:last-of-type{
    border-bottom: 1px solid #DCDCDC;
}
.styleUL_2 ul li:before {
    content: "";
    position: absolute;
    top: 25px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #0B0506;
}
.btn {
    color: #6C6C6C;
    background: #EFEEEF;
    padding: 8px 20px;
    border-radius: 12px;
    border: 1px solid #EFEEEF;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
}
.btn:hover{
    color: #6C6C6C;
    background: transparent;
    border-color: #EFEEEF;
}
.bgLightGray .btn{
    background: #fff;
}
.btnDarkGray{
    color: #FFFFFF;
    background: #9da1a6;
    padding: 8px 20px 10px;
    border-radius: 12px;
    border: 1px solid #9da1a6;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
}
.btnDarkGray:hover{
    color: #FFFFFF;
    background: transparent;
    border-color: #9da1a6;
}
/*------------------------------ */

.squareImg{
    position: relative;
    padding-bottom: 95%;
    width: 100%;
    display: inline-block;
    overflow: hidden;
}
.portrait_img{
    position: relative;
    padding-bottom: 110%;
    width: 100%;
    display: inline-block;
    overflow: hidden;
}
.portrait_img2{
    position: relative;
    padding-bottom: 120%;
    width: 100%;
    display: inline-block;
    overflow: hidden;
}
.squareImg img,
.portrait_img img,
.portrait_img2 img{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center center;
}
.landscapeImg{
    position: relative;
    padding-bottom: 56%;
    width: 100%;
    display: inline-block;
    overflow: hidden;
}
.landscapeImg2{
    position: relative;
    padding-bottom: 45%;
    width: 100%;
    display: inline-block;
    overflow: hidden;
}
.landscapeImg2 img,
.landscapeImg img{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center center;
}
.objectPositionTop img{
    object-position: top center;
}
.borderBottomGray{
    border-bottom: 1px solid #C4C4C4;
}

/*---------- underline style -------------*/
.anchorStyle a{
    position: relative;
}
.anchorStyle a:after{
    content: "";
    display: inline-block !important;
    position: absolute;
    z-index: 10;
    right: 0;
    width: 0;
    bottom: -2px;
    background: #0B0506;
    height: 2px;
    transition-property: width;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
}
.anchorStyle a:hover:after,
.anchorStyle a:focus:after,
.anchorStyle a:active:after{
    left: 0;
    right: auto;
    width: 100%;
}
.anchorStyle2 a{
    position: relative;
}
.anchorStyle2 a:after{
    content: "";
    position: absolute;
    /* z-index: -1; */
    left: 0;
    right: auto;
    width: 100%;
    bottom: -2px;
    background: #0B0506;
    height: 2px;
    transition-property: width;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
}
.anchorStyle2 a:hover:after,
.anchorStyle2 a:focus:after,
.anchorStyle2 a:active:after {
    left: auto;
    right: 0;
    width: 0;
}
.anchorLine1 a:after{
    height: 1px;
}
.blockQuote blockquote {
    background: #e9e9e9;
    /* color: #6C6C6C; */
    padding: 12px 18px;
    border-radius: 12px;
    opacity: 0.6;
}
.blockQuote blockquote p:last-of-type{
    margin-bottom: 0;
}
/*---------- Container size -----------*/
.container{
    max-width: 1350px;
}
.container.containerMoveRight {
    width: 100%;
    max-width: 100%;
    padding-left: calc((100vw - 1335px) / 2);
    padding-right: 0;
}
.container.containerMoveLeft{
    width: 100%;
    max-width: 100%;
    padding-right: calc((100vw - 1335px) / 2);
    padding-left: 0;
}
@media(max-width:1350px){
    .container{
        padding-left: 24px;
        padding-right: 24px;
    }
    .container.containerMoveRight {
        padding-left: 24px;
    }
    .container.containerMoveLeft{
        padding-right: 24px;
    }
}
@media(min-width:1600px){
    .container {
        max-width: 1440px;
    }
    .container.containerMoveRight {
        padding-left: calc((100vw - 1425px) / 2);
    }
    .container.containerMoveLeft{
        padding-right: calc((100vw - 1425px) / 2);
    }
}
@media(min-width:1900px){
    .container {
        max-width: 1600px;
    }
    .container.containerMoveRight {
        padding-left: calc((100vw - 1585px) / 2);
    }
    .container.containerMoveLeft{
        padding-right: calc((100vw - 1585px) / 2);
    }
}
/*------------------- Gravity form ----------------------*/
.gsection_title {
    margin: 0;
    padding: 0;
}
.gform_wrapper .gform_description{
    font-size: 20px;
    color: #F03223;
    line-height: 1.2em;
}
.gform_wrapper .gform_validation_errors {
    font-size: 20px !important;
    text-align: center;
    line-height: 1.4em !important;
    color: #ffc84c !important;
    letter-spacing: 0;

    background:none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none  !important;
    margin-bottom: 30px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    position: relative;
    width: 100%;
}
.gform_wrapper .gform_validation_errors > h2{
    padding: 0 50px !important;
    font-size: 20px !important;
    text-align: center;
    line-height: 1.4em !important;
    letter-spacing: 0;
    /*color: #ffc84c !important;*/
}
.gform_wrapper .gform_validation_errors span.gform-icon--close{
    display: none !important;
}
.gform_wrapper{
    margin: 0;
}
.gform_wrapper .gform_body, .gform_wrapper .gform_footer {
    display: inline-block;
    width: 100%;
}
.gform_wrapper .gform_footer{
    margin: 0 !important;
    padding: 0 !important;
    justify-content: center;
}
.submitRight .gform_wrapper .gform_footer {
    justify-content: flex-end;
}
.gform_wrapper .gfield--type-section{
    border: none !important;
    padding-bottom: 0 !important;
}
.gform_wrapper .gfield + .gfield--type-section{
    padding-top: 40px !important;
}
.bgBlue .gform_wrapper .gsection_title{
    color: #fff;
}
.gform_wrapper .gform_heading,
.gform_wrapper .gform_title{
    display: none;
}
.gform_wrapper .gform_fields {
    display: flex !important;
    justify-content: space-between;
    flex-wrap: wrap;
    grid-row-gap: 0 !important;
    grid-column-gap: 0 !important;
}
.gform_wrapper .gfield, .gform_wrapper fieldset{
    width: 100%;
    float: left;
    margin: 0 0 50px !important;
}
.gform_wrapper .gfield.gfield--width-half {
    width: calc(50% - 6px);
}
.gform_wrapper .gfield.gfield--width-third {
    width: calc((100% / 3) - 6px);
}
.gform_wrapper .gfield.gfield--width-quarter{
    width: calc(25% - 6px);
}
.gform_wrapper .gfield .ginput_container_consent + .gfield_consent_description {
    display: inline-block;
    overflow: auto !important;
    border: none !important;
    max-height: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.gform_wrapper .ginput_container{
    width: 100%;
    float: left;
    padding:0;
}
.gform_wrapper .ginput_container_consent{
    margin-top: 20px;
}
.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
    background: none !important;
    border: none !important;
    font-size: 14px !important;
    margin-top: 0 !important;
    padding: 5px 0 0 !important;
}
.gform_wrapper .validation_message {
    font-size: 13px !important;
    /*color: #ff0000 !important;*/
    margin: 0;
    display: inline-block;
}
.gform_wrapper form .gfield legend,
.gform_wrapper form .gfield label{
    font-size: 18px;
    color: #6C6C6C !important;
}
.gform_wrapper legend.gfield_label span.gfield_required,
.gform_wrapper label.gfield_label span.gfield_required{
    display: none;
}
.gform_wrapper form input[type="text"],
.gform_wrapper form input[type="tel"],
.gform_wrapper form input[type="email"],
.gform_wrapper form input[type="number"],
.gform_wrapper form select,
.gform_wrapper form textarea {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #C4C4C4 !important;
    color: #0B0506;
    border-radius: 0 !important;
    width: 100% !important;
    padding: 10px 0px !important;
    font-size: 30px !important;
    font-weight: 400;
}
.gform_wrapper form input[type="text"],
.gform_wrapper form input[type="tel"],
.gform_wrapper form input[type="number"],
.gform_wrapper form select,
.gform_wrapper form input[type="email"]{
    height: 48px;
}
.gform_wrapper form select{
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance:none;
    background: #F6F6F6 url('/wp-content/uploads/2026/05/down-arrow.png') !important;
    background-position: center right 30px !important;
    background-repeat: no-repeat !important;
    background-size: 12px !important;
    cursor: pointer;
}
.gform_wrapper form textarea{
    height: 160px !important;
    resize: none;
}
.gform_wrapper form input[type="submit"]{
    margin-bottom: 0 !important;
    color: #6C6C6C;
    background: #EFEEEF;
    padding: 8px 20px 10px;
    border-radius: 12px;
    border: 1px solid #EFEEEF;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gform_wrapper form input[type="submit"]:hover{
    color: #2C2C2C;
    background: #FFFFFF;
    border-color: #D0D0D0;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.gform_wrapper form input[type="submit"]:active{
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.gform_wrapper form .legalTextForm{
    font-size: 12px;
}
.gform_wrapper form .legalTextForm a{
    color: #3F77BC;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.gform_wrapper .gfield_checkbox .gchoice label,
.gform_wrapper .gfield_radio .gchoice label,
.gform_wrapper .ginput_container_consent label {
    position: relative;
    padding-left: 40px;
    font-weight: 300;
    margin: 0;
    color: inherit !important;
    cursor: pointer;
}
.gform_wrapper .ginput_container_consent label .gfield_required {
    display: none;
}
.gform_wrapper .gfield_checkbox .gchoice input[type='checkbox'],
.gform_wrapper .gfield_radio .gchoice input[type='radio'],
.gform_wrapper .ginput_container_consent input[type='checkbox']{
    display: none;
}
.gform_wrapper .gfield_checkbox .gchoice label:before,
.gform_wrapper .gfield_checkbox .gchoice label:after,
.gform_wrapper .gfield_radio .gchoice label:before,
.gform_wrapper .ginput_container_consent label:before,
.gform_wrapper .gfield_radio .gchoice label:after,
.gform_wrapper .ginput_container_consent label:after{
    content: "";
    position: absolute;
    left: 0;
    height: 24px;
    top: 0px;
    width: 24px;
    display: inline-block;
    margin-right: 10px;
    border-radius: 50%;
}
.gform_wrapper .gfield_checkbox .gchoice label:before,
.gform_wrapper .gfield_radio .gchoice label:before,
.gform_wrapper .ginput_container_consent label:before {
    background: transparent;
    border: 1px solid #6C6C6C;
}
.gform_wrapper .gfield_checkbox .gchoice label:after,
.gform_wrapper .gfield_radio .gchoice label:after,
.gform_wrapper .ginput_container_consent label:after {
    opacity: 0;
    transform: scale(0.6);
    background: #232323;
}
.gform_wrapper .gfield_checkbox label:before,
.gform_wrapper .gfield_checkbox label:after,
.gform_wrapper .ginput_container_consent label:before,
.gform_wrapper .ginput_container_consent label:after{
    border-radius: 0 !important;
}
.gform_wrapper .gfield_checkbox .gchoice input[type='checkbox']:checked + label:after,
.gform_wrapper .gfield_radio .gchoice input[type='radio']:checked + label:after,
.gform_wrapper .ginput_container_consent input[type='checkbox']:checked + label:after {
    opacity: 1;
}
.gform_wrapper .gfield_checkbox{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.gform_wrapper .gfield_radio{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.gform_wrapper .gfield_radio .gchoice {

}
.gform_wrapper .gfield_radio .gchoice label{
    max-width: 100% !important;
}
.gform_wrapper .gform_fields .gfield--type-fileupload {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
}
.gform_wrapper .gform_fields .gfield--type-fileupload > .gfield_description {
    padding: 20px 0px 20px 50px;
    background: url('/wp-content/uploads/2024/10/download.svg')no-repeat;
    background-position: center left 0px;
    cursor: pointer;
    display: inline-block;
    width: auto;
    font-size: 22px;
    font-weight: 300;
}
.gform_wrapper .gform_fields .gfield--type-fileupload .ginput_preview_list{
    color: #303030;
    font-size: 14px;
}
.gform_wrapper .gform_fields .gfield--type-fileupload .ginput_preview_list .ginput_preview{
    margin: 0px !important;
}
.gform_wrapper .gform_fields .gfield--type-fileupload .gform_fileupload_rules,
.gform_wrapper .gform_fields .gfield--type-fileupload .gform-theme-field-control{
    display: none;
}
@media(max-width:991px){
    .gform_wrapper .gfield.gfield--width-quarter{
        width: calc(50% - 6px);
    }
}
@media(max-width:767px){
    .gform_wrapper .gfield,
    .gform_wrapper .gfield.gfield--width-half,
    .gform_wrapper .gfield.gfield--width-third,
    .gform_wrapper .gfield.gfield--width-quarter{
        width: 100%;
    }
}
/* -- Placeholder color -- */

/*input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; } 
input:focus::-moz-placeholder { color:transparent; } 
input:focus:-ms-input-placeholder { color:transparent;}*/

input::-webkit-input-placeholder{
    color: #949494;
    opacity: 1 !important;
}
input:-moz-placeholder{
    color: #949494;
    opacity: 1 !important;
}
input::-moz-placeholder{
    color: #949494;
    opacity: 1 !important;
}
input:-ms-input-placeholder{
    color: #949494;
    opacity: 1 !important;
}

textarea::-webkit-input-placeholder{
    color: #949494;
    opacity: 1 !important;
}
textarea:-moz-placeholder{
    color: #949494;
    opacity: 1 !important;
}
textarea::-moz-placeholder{
    color: #949494;
    opacity: 1 !important;
}
textarea:-ms-input-placeholder{
    color: #949494;
    opacity: 1 !important;
}

/*------------------ End gravity form css ---------------------- */

/*======== Header css  ==========*/
.siteHeader{
    position: fixed;
    padding: 20px 0;
    /*top: 0;*/
    width: 100%;
    left: 0;
    background: transparent;
    z-index: 50;
    transition: all 0.3s ease;
}
header.siteHeader.headerUp.headerDown {
    transform: translateY(-100%);
}
.siteHeader .headerLogo{
    width: 155px;
    height: 22px;
    position: relative;
}
.siteHeader .headerLogo .logoWhite,
.siteHeader.headerUp .headerLogo .logoBlack{
    opacity: 1;
    visibility: visible;
}
.siteHeader .headerLogo .logoBlack,
.siteHeader.headerUp .headerLogo .logoWhite{
    opacity: 0;
    visibility: hidden;
}
.siteHeader .headerLogo > img{
    position: absolute;
    object-fit: contain;
    object-position: center left;
    transition: all 0.3s ease;
}
/*-------------- Toggle button ----------------*/
.customToggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: right;
    background: rgb(108 108 108 / 90%);
    border-radius: 12px !important;
    padding: 12px 16px;
    height: 50px;
    /* width: 50px; */
    top: 0;
    right: 0;
    color: #fff;
    font-size: 18px;
    border-radius: 12px;
    cursor: pointer;
    z-index: 30;
    overflow: hidden;
    border-radius: 0;
    transition: all 0.4s ease;
}
.customToggle button {
    margin-top: -5px;
    padding: 0;
    border: none!important;
    box-shadow: none!important;
    background: none!important;
    outline: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 40px;
    cursor: pointer !important;
    transition: all 0.4s ease;
}
.customToggle span.toggleBar {
    width: 28px;
    height: 16px;
    display: inline-block;
    position: relative;
    outline: 0
}

.customToggle span.toggleBarInner {
    width: 28px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease
}

.customToggle.toggleOpen span.toggleBarInner {
    transform: translate3d(0,8px,0) rotate(45deg);
    top: 0
}

.customToggle span.toggleBarInner:before,.customToggle span.toggleBarInner:after {
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
    content: "";
    display: block
}

.customToggle span.toggleBarInner:before {
    top: 8px;
    transition-property: transform,opacity;
    transition-timing-function: ease;
    transition-duration: 0.15s;
    /*opacity: 0;*/
}

.customToggle.toggleOpen span.toggleBarInner:before {
    transform: rotate(-45deg) translate3d(-5.71429px,-6px,0);
    opacity: 0
}

.customToggle span.toggleBarInner:after {
    bottom: -17px
}

.customToggle.toggleOpen span.toggleBarInner:after {
    transform: translate3d(0,-17px,0) rotate(-90deg)
}
/*------------------------------------------*/
.headerNav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    color: #fff;
    border-radius: 12px;
}
.mainNav {
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}
.mainNav > li > a {
    color: #C4C4C4;
    padding: 20px 10px;
    display: block;
}
.mainNav > li.wpml-ls-item a{
    border: 1px solid #fff;
    color: #fff;
    padding: 6px 8px;
    border-radius: 8px;
}
.mainNav .subOpen {
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    width: 30px;
    height: 30px;
    border: 1px solid #fff;
    border-radius: 4px;
}
.mainNav .subOpen i{
    transform: rotate(0deg);
    transition: all 0.3s ease;
}
.mainNav .subOpen.isActive i{
    transform: rotate(180deg);
}
.mainNav > li > .sub-menu{
    position: absolute;
    width: 100%;
    left: 0;
    padding: 20px 14px;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;
}
.mainNav > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.mainNav > li > .sub-menu > li {
    width: 25%;
    padding: 7px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.mainNav > li > .sub-menu > li > a{
    color: #C4C4C4;
    font-size: 14px;
}
.mainNav > li > .sub-menu > li > .sub-menu{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mainNav > li > .sub-menu > li > .sub-menu a{
    display: inline-block;
    padding: 0;
}
.headerNav,
.mainNav > li > .sub-menu{
    background: rgb(108 108 108 / 90%);
}
/*======== End Header css  ==========*/

/*======== Footer css here ==========*/
.newsletterInner{
    background: #D3E9F4;
    padding: 20px;
}
.footerForm{

}
.footerForm .gform_wrapper form{
    position: relative;
}
.footerForm .gform_wrapper form .gfield{
    margin-bottom: 10px !important;
}
.footerForm .gform_wrapper form .gform_footer {
    position: absolute;
    top: 0;
    right: 0;
    height: 48px;
    width: auto;
}
.footerForm .gform_wrapper form .gform_footer input[type='submit'] {
    font-weight: 500;
    color: #0B0506;
    font-size: 18px;
    padding: 10px 0;
    border: none;
    outline: none;
    background: none;
    box-shadow: none !important;
}
.newsletterImg{
    border-radius: 2px;
    overflow: hidden;
}
.footerBottom{

}
.footerInner{
    border-top: 1px solid #C4C4C4;
    padding: 24px 0;
}
.footerMenu ul{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
}
.social_icon{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
}
/*======== End Footer css ==========*/


/*================ Rest of pages css ================*/
.mainContent{
    padding-top: 80px;
}
.home .mainContent{
    padding-top: 0;
}
.homeBanner{
    min-height: 100vh;
}
.main-banner-container {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 2.5rem;
    bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
}
/*--------------------------------------*/
.bigCarousel .wrapper{
    position:relative;
    width:100%;
}
.bigCarousel .swiper{
    width:100%;
    /*height:480px;*/
    height: 100vh;
    border-radius:0px;
    overflow:hidden
}
.bigCarousel .swiper-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform 0.7s ease
}
.bigCarousel .swiper-slide:hover img{
    /*transform:scale(1.04)*/
}
.bigCarousel .slide-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to bottom,rgba(0,0,0,0.22) 0%,rgba(0,0,0,0.62) 100%)
}
.bigCarousel .slide-content {
    position: absolute;
    width: 100%;
    top: 28px;
    left: 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.bigCarousel .slide-content .slide-content-inner{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.bigCarousel .slide-tag{

    /*text-transform:uppercase;*/
    color:rgba(255,255,255,0.7)
}
.bigCarousel .slide-btn{
    display:inline-flex;
    align-items:center;
    border:1px solid rgba(255,255,255,0.45);
    border-radius:2px;
    padding:8px 18px;
    font-size:12px;
    color:#fff;
    width:fit-content;
    letter-spacing:0.04em;
    background:transparent;
    cursor:pointer;
    transition:background 0.2s,border-color 0.2s
}
.bigCarousel .slide-btn:hover{
    background:rgba(255,255,255,0.15);
    border-color:rgba(255,255,255,0.7)
}
.bigCarousel .roles-panel {
    position: absolute;
    width: 100%;
    bottom: 28px;
    left: 0px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}
.bigCarousel .roles-panel .roles-panel-inner{
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}
.bigCarousel .role-item{
    position: relative;
    display:flex;
    align-items:center;
    gap:1px;
    color:rgba(255,255,255,0.38);
    cursor:pointer;
    line-height:1;
    user-select:none;
    padding:2px 40px 2px 0px;
    margin: 0;
    transition:all 0.25s ease;
}
.bigCarousel .role-item .dot{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width:24px;
    height:24px;
    border-radius:50%;
    background:#fff;
    opacity:0;
    flex-shrink:0;
    transform: translate(-24px, 0px);
    transition:all 0.25s ease;
}
.bigCarousel .role-item.active{
    color:#fff;
    padding:2px 0px 2px 40px;
}
.bigCarousel .role-item.active .dot{
    opacity:1;
    transform: translate(0px, 0px);
}
.bigCarousel .role-item:hover{
    color:rgba(255,255,255,0.72);
}
/*----------------------------------------*/

.accoList>li {
    list-style: none;
    border-bottom: 1px solid #6C6C6C;
    position: relative;
    display: inline-block;
    width: 100%;
    /*opacity: 0;*/
    /*transition: all 0.3s ease;*/
}

.accoList>li:first-of-type{
    border-top: 1px solid #6C6C6C;
}
.accoList>li .que {
    padding: 14px 0;
    margin: 0;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.5s ease;
}
.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #EFEEEF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}


.faq-icon svg {
    width: 12px;
    height: 12px;
    stroke: #6C6C6C;
    transition: all 0.3s ease;

}

.accoList>li.active .faq-icon svg {
    transform: rotate(45deg);
}

.accoList>li .answer {
    padding: 0px 0px 20px;
}
.accoList>li .answer ul{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.accoList>li .answer ul li a{
    color: #C4C4C4;
    transition: all 0.3s ease;
}
.accoList>li .answer ul li a:hover{
    color: #6C6C6C;
}

/*------------------------------------------------*/
.imgInner{
    position: relative;
    padding-bottom: 42%;
}
.imgOuterContainer .imgInner{
    padding-bottom: 36%;
}
.imgInnerMain{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.overlayImg{
    position: absolute;
    content: "";
    z-index: 10;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
}
.titleOnImg {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    width: 100%;
    top: 0;
    bottom: 0;
    margin: auto;
}
/*--------------------------------------*/
.teamFilter{
    padding-bottom: 40px;
    border-bottom: 1px solid #C4C4C4;
}
.teamFilter ul .filter_item,
.teamFilter ul button {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    background-color: transparent;
    border: 1px solid #DCDCDC;
    border-radius: 12px;
    color: #949494;
    font-size: 16px;
    text-decoration: none !important;
    outline: none !important;
    font-weight: 400 !important;
    padding: 10px 16px 10px 12px;
    transition: all 0.3s ease;
}
.teamFilter ul .filter_item.active,
.teamFilter ul .filter_item:hover,
.teamFilter ul button.active,
.teamFilter ul button:hover{
    color: #6C6C6C;
    border-color: #6C6C6C;
}
.teamFilter ul button svg *{
    stroke:#949494;
}
.teamFilter ul button.active svg *,
.teamFilter ul button:hover svg *{
    stroke:#6C6C6C;
}
.filter2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-items: center;
    gap:16px;
}
.selectDrop {
    width: 100%;
    max-width: 140px;
    box-shadow: none !important;
    outline: none !important;
    border: 1px solid #949494!important;
    border-radius: 12px;
    padding: 12px 26px 12px 12px;
    line-height: 1;
    color: #949494 !important;
}

.teamRow{
    row-gap: 50px;
}
.teamCard{
    height: 100%;
    border-bottom: 1px solid #DCDCDC;
    padding-bottom: 60px;
    transition: all 0.3s ease;
}
.teamCard:hover{
    border-bottom: 1px solid #949494;
}

.teamCardInfo h4{
    padding-right: 30px;
    background-image: url('/wp-content/uploads/2026/05/plus_icon.svg');
    background-size: 0px;
    background-position: top 14px right 12px;
    background-repeat: no-repeat;
    transition: all 0.16s ease;
}
.teamCard:hover h4{
    background-size: 24px;
    background-position: top 2px right;
    transition: all 0.3s ease;
}
.teamItem--hidden {
    display: none;
}
.teamCard .squareImg img{
    transform: scale(1);
    transition: all 0.16s ease;
}
.teamCard:hover .squareImg img{
    transform: scale(1.1);
    transition: all 0.3s ease;
}
/*-----------------------------------------*/
.historyImgCol{
    position: sticky;
    top: 100px;
}
.historyCard{
    position: relative;
    padding-bottom: 50px;
}
.historyCard:before {
    position: absolute;
    content: "";
    background: #DCDCDC;
    width: 2px;
    height: calc(100% - 35px);
    border-radius: 1px;
    bottom: 0;
    left: 15px;
}
.historyCard:last-of-type{
    padding-bottom: 0;
}
.historyCard:last-of-type:before{
    display: none;
}
.yearName{
    position: relative;
    padding-left: 30px;
}
.yearName:before{
    position: absolute;
    content: "";
    background: #DCDCDC;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}
/*--------------------------------------------------*/
.contentList{
    display: flex;
    flex-direction: column;
    gap:0;
}
.contentList li {
    padding: 18px 0;
    border-top: 1px solid #C4C4C4;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
}
.contentList li:last-of-type{
    border-bottom: 1px solid #C4C4C4;
}
.contentList li i {
    background: #EFEEEF;
    padding: 10px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.profileContact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
table.tableStyle tr {
    border: 1px solid #DCDCDC;
    border-left: none;
    border-right: none;
    vertical-align: top;
}
table.tableStyle tr td{
    padding: 18px 25px 18px 0;
    min-width: 140px;
    word-break: break-all;
}
.formationSecTop{
    border-top: 1px solid #DCDCDC;
    padding-top: 20px;
}
/*-------------------------------------*/
.profileImg{
    /*position: sticky;*/
    /*top: 150px;*/
}
.rm-btn {
    background: none;
    border: none !important;
    outline: none !important;
    padding: 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.rm-text {
    /*font-size: 16px;*/
    /*line-height: 1.7;*/
    margin: 0 0 0.75rem;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.rm-text.clamped {
    max-height: calc(1.7em * 3); /* line-height * 3 lines */
}
.article_card {
    border-bottom: 1px solid #949494;
}
.article_card .landscapeImg {
    /*background-color: #efeeef;*/
}
.article_info {
    padding: 16px 0;
}
.article_date{

}
.article_author{
    display: flex;
    align-items: center;
    gap: 10px;
}
.article_author img{
    border-radius: 50%;
}
.articleDetailSingle{
    border-top: 1px solid #949494;
    padding-top: 20px;
}
/*-----------------------------------------*/

.articles-heading {
    /*font-size: 28px;*/
    /*font-weight: 500;*/
    /*color: #111;*/
    /*margin-bottom: 1rem;*/
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* ── Filters ── */
.articles-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid #949494;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    color: #6C6C6C;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.filter-btn:hover {
    border-color: rgba(0, 0, 0, 0.5);
    color: #111;
}

.filter-btn.active {
    background: #111;
    color: #fff;
    border-color: #111;
}
.articleCol {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .35s ease, transform .35s ease;
}
.articleCol.visible {
    opacity: 1;
    transform: none;
}
.articleCol.hiding {
    opacity: 0;
    transform: translateY(12px);
}
.articleCard{

}
.playSpan {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}
.playSpan img {
    position: relative;
    width: 32px;
    height: 32px;
    object-fit: contain !important;
}
.articleCardBody {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #DCDCDC;
    transition: all 0.3s ease;
}
.articleCard:hover .articleCardBody{
    border-bottom: 1px solid #949494;
}
.cardDate {
    font-size: 12px;
    color: #6C6C6C;
    margin-bottom: 14px;
}
.cardTitle {
    /*    font-size: 15px;
        font-weight: 500;
        line-height: 1.45;
        margin-bottom: 12px;*/
}
.cardTitle a {
    color: #111;
    text-decoration: none;
}
.cardTitle a:hover {
    text-decoration: underline;
}
.cardAuthor {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.authorAvatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.authorName {
    font-size: 12px;
    color: #777;
}
.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 0;
    color: #999;
    font-size: 15px;
}
address a{
    position: relative;
}
address a .openMapLink{
    margin-left: 4px;
    transform: translate(0, 0);
    transition: all 0.3s ease;
}
address a:hover .openMapLink{
    transform: translate(6px, -6px);
}
.infoMapCol{
    position: relative;
    padding-bottom: 60%;
    overflow: hidden;
}
.infoMapCol iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    object-position: center center;
}
.text_Img_Inner{
    position: relative;
    aspect-ratio:4/1.55;
}
.text_Img_Inner:before{
    position:absolute;
    content: "";
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    inset:0;
    background:rgba(0,0,0,0.22);
    z-index: 1;
}
.text_Img_div{
    position: relative;
    z-index:2;
}
.sicial_on_img{

}
.sicial_on_img a {
    font-size: 16px;
    border-radius: 12px;
    padding: 12px 20px;
    border: 1px solid #fff;
    transform: scale(1);
    transition: all 0.2s ease;
}
.sicial_on_img a:hover{
    transform: scale(1.1);
    transition: all 0.3s ease;
}
.hsSlider .swiper-slide {
    width: auto !important;
    max-width: 100%;
}
.hsSlider .slideCard img{
    width: auto;
    max-width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center center;
}
/*-----------------------------------*/


/* =============================================================
   search.css — Morency Search Results Page
   Add via wp_enqueue_style in functions.php on is_search()
   ============================================================= */

.search-form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 0;
    border-bottom: 1px solid #C4C4C4;
}

.search-input {
    flex: 1;
    font-family: inherit;
    font-size: 22px;
    font-weight: 400;
    color: #111;
    border: none;
    outline: none;
    background: transparent;
    caret-color: #111;
    height: 50px;
}

.search-input::placeholder {
    color: #aaa;
}

.search-submit {
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    /* padding: 4px; */
    display: flex;
    align-items: center;
    justify-content: center;
    right: 0;
    top: 0;
    bottom: 0;
    /* margin: auto; */
    height: 50px;
    width: 40px;
}

.search-submit:hover {
    color: #111;
}

/* ── Results header + tabs ───────────────────────────────────── */
.search-results-header {
    padding: 48px 0 0;
}

.search-results-title {
    /*    font-size: 28px;
        font-weight: 600;
        color: #111;*/
    margin: 0 0 32px;
}

.search-tabs {
    /*    display: flex;
        gap: 8px;
        flex-wrap: wrap;*/
}

.search-tab {
    /*    display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 16px;
        border: 1px solid #d0d0d0;
        border-radius: 100px;
        font-size: 14px;
        font-weight: 500;
        color: #333;
        text-decoration: none;
        background: #fff;
        transition: border-color 0.2s, background 0.2s, color 0.2s;*/
}

.search-tab:hover {
    /*border-color: #111;*/
    /*color: #111;*/
}

.search-tab.is-active {
    /*    background: #111;
        border-color: #111;
        color: #fff;*/
}

.search-tab__count {
    font-size: 12px;
    opacity: 0.75;
}

/* ── Sections ────────────────────────────────────────────────── */
.search-results-body {
    padding: 64px 0;
}

.search-section {
    margin-bottom: 72px;
}

.search-section:last-child {
    margin-bottom: 0;
}

.search-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-section__count {
    font-size: 12px;
    font-weight: 400;
    color: #6C6C6C;
    background: #EFEEEF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1px;
    border-radius: 50%;
    height: 24px;
    width: 24px;
}

/* ── Team grid ───────────────────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.team-card--hidden {
    display: none;
}

.team-card__photo {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f2f2f2;
    position: relative;
}

.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.team-card:hover .team-card__photo img {
    transform: scale(1.04);
}

.team-card__photo-placeholder {
    width: 100%;
    height: 100%;
    /*background: #e5e5e5;*/
}

.team-card__info {
    padding: 14px 0 0;
}

.team-card__name {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin: 0 0 4px;
}

.team-card__role {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* ── Show more button ────────────────────────────────────────── */
.search-section__more {
    margin-top: 32px;
    text-align: center;
}

.btn-afficher-plus {
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 100px;
    padding: 10px 28px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.btn-afficher-plus:hover {
    border-color: #111;
    background: #f5f5f5;
}

/* ── Expertise tags ──────────────────────────────────────────── */
.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.expertise-tag {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #d0d0d0;
    border-radius: 100px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.expertise-tag:hover {
    border-color: #111;
    background: #f5f5f5;
    color: #111;
}

/* ── Article list ────────────────────────────────────────────── */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
/*
.article-card {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}

.article-card:first-child {
    border-top: 1px solid #eee;
}

.article-card__thumb {
    flex-shrink: 0;
    width: 140px;
    height: 100px;
    overflow: hidden;
    display: block;
    background: #f2f2f2;
}

.article-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card__thumb img {
    transform: scale(1.05);
}

.article-card__body {
    flex: 1;
    min-width: 0;
}

.article-card__cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    display: block;
    margin-bottom: 8px;
}

.article-card__title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 1.4;
}

.article-card__title a {
    color: #111;
    text-decoration: none;
}

.article-card__title a:hover {
    text-decoration: underline;
}

.article-card__author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    margin: 0;
}

.article-card__author img {
    border-radius: 50%;
    width: 24px;
    height: 24px;
}*/

/* ── Video list ──────────────────────────────────────────────── */
.video-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.video-card {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}

.video-card:first-child {
    border-top: 1px solid #eee;
}

.video-card__thumb {
    flex-shrink: 0;
    width: 140px;
    height: 100px;
    overflow: hidden;
    display: block;
    background: #1a1a1a;
    position: relative;
}

.video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.video-card:hover .video-card__thumb img {
    opacity: 0.65;
}

.video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.video-card__body {
    flex: 1;
    min-width: 0;
}

.video-card__cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    display: block;
    margin-bottom: 8px;
}

.video-card__title {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.video-card__title a {
    color: #111;
    text-decoration: none;
}

.video-card__title a:hover {
    text-decoration: underline;
}

/* ── No results ──────────────────────────────────────────────── */
.search-no-results {
    padding: 48px 0;
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .search-page .container {
        padding: 0 20px;
    }
    .search-results-title {
        font-size: 22px;
    }
    .article-card, .video-card {
        flex-direction: column;
    }
    .article-card__thumb, .video-card__thumb {
        width: 100%;
        height: 200px;
    }
}

/*=============================*/
.wbnrSwiper .swiper-wrapper {
    align-items: stretch; /* default, but be explicit */
}
.wbnrSwiper .swiper-slide {
    height: auto;         /* key line — lets flex stretch slides to tallest */
    display: flex;
}
.wbnrSwiper .swiper-slide > .articleCard {
    height: 100%;
    width: 100%;
}
.wbnrAction {
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-size:12.5px;
    color:#3a3a3a;
    text-decoration:none;
    padding:5px 10px;
    border:1px solid #dcdcdc;
    border-radius:8px;
    white-space:nowrap;
    transition:border-color .15s, color .15s;
}
.wbnrAction:hover {
    border-color:#9a9a9a;
    color:#111;
}
.wbnrIcon {
    font-size:12px;
}

.wbnrNav {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    margin-top:26px;
}
.wbnrPrev, .wbnrNext {
    background:none;
    border:0;
    cursor:pointer;
    font-size:20px;
    color:#1a1a1a;
    line-height:1;
    padding:6px;
}
.wbnrPrev:hover, .wbnrNext:hover {
    color:#555;
}
.swiper-button-disabled{
    opacity: 0.4;
}
.wbnrDots {
    position:static;
    display:flex;
    align-items:center;
    gap:7px;
    width:auto !important;
}
.wbnrDots .swiper-pagination-bullet {
    width:8px;
    height:8px;
    background:#bdbdbd;
    opacity:1;
    margin:0;
}
.wbnrDots .swiper-pagination-bullet-active {
    background:#1a1a1a;
}

@media (max-width:640px) {
    .wbnrHeading {
        font-size:24px;
    }
}
/* Ancre de section par type de publication (#pub-article, #pub-nouvelle…).
   Visée par le lien « retour » des pages single. Le header est en position:fixed,
   d'où le scroll-margin-top : sans lui l'ancre se cale sous le header. */
.sectionAnchor {
    display: block;
    height: 0;
    scroll-margin-top: 120px;
}
