
.hub-header{
    width: 100%;
    background: #FFFFFF;
    padding-top: 37px;
    min-height: 410px;
    position: relative;
    opacity: 0; /* Commence invisible */
   
    transform: translateY(-813px); /* Déplace vers le haut */
}
.hub-header.is-active{

    animation: slideIn 1.5s ease-out forwards; /* Applique l'animation */   
   
   
}

.hub-wrapper{
    opacity: 0; /* Commence invisible */
    transform: translateY(50px); /* Légèrement en dessous */
    animation: fadeInAndSlide 2s ease-out 0.5s forwards; /* Déclenché après le hero */
    position: relative;
    margin: 0 auto;
    top: 40px;
    padding: 0 6%;
    margin-bottom: 65px;
   
}

.hub-searchitem{
    display: none;
}

.hub-searchitem.is-active{
    display: flex; /* Affiche la carte */
 
}
.hub-expert{
    width: 100%;
    border-radius: var(--Medium, 8px);
    border: 1px solid var(--Border-border, #D3D4DD);
    background: var(--Colors-Greyscale-0, #FFF);
    flex-shrink: 0;
    align-items: stretch;
    gap: 1rem;
    padding: 0.75rem;
    margin-bottom: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.hub-expert:hover {
    cursor: pointer;
    border: 1px solid #6ab165;
}
@media screen and (min-width: 1023px) {
    .hub-wrapper{
        display: grid;
        grid-template-columns: 1fr 1fr; 
        grid-gap: 20px;
    }
    .hub-expert {
        margin-bottom: 0;
    }
}

.hub-expert a {
    color: #71a66d;
}
.hub-expert .avatar{
    width: var(--Numbers-11, 64px);
    height: var(--Numbers-11, 64px);
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}
.hub-expert .name{
    color: var(--Text-text, #2D2F39);
    font-family: var(--Font-Family-Main-Font, Roboto);
    font-size: var(--Type-Scale-16-pt, 16px);
    font-style: normal;
    font-weight: var(--Font-Weight-Medium, 500);
    line-height: var(--Type-Scale-24-pt, 24px); /* 150% */
}
.hub-expert .fa-circle{
    color: var(--Text-text-caption, #B8BBC9);
    font-size: 4px;
}
.hub-expert .collab{
    overflow: hidden;
    color: var(--Text-text-brand-secondary-darker, #1F9888);
    text-align: center;
    text-overflow: ellipsis;
    font-family: var(--Font-Family-Main-Font, Roboto);
    font-size: var(--Type-Scale-14-pt, 14px);
    font-style: normal;
    font-weight: var(--Font-Weight-Regular, 400);
    line-height: var(--Line-Height-24-pt, 24px); /* 171.429% */
}
.hub-header-container{
    max-width: 813px;
    margin: auto;
    padding: 0 20px;
}
.hub-header-title{
    color: #000;
    /*font-family: Inter;*/
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 15.6px */
    letter-spacing: 0.15px;
    text-align: center;
}
/* zone serach */

.hub-header-tagline{
    color: #393A4F;
    /*font-family: Inter;*/
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 57.6px */
    letter-spacing: 0.15px;
    margin-top: 16px;
    margin-bottom: 10px;
}

.hub-header-result-light{
    font-family: Roboto;
    font-size: 11.2px;
    font-style: normal;
    font-weight: 500;
    line-height: 16.8px; /* 150% */
    text-transform: uppercase;
    text-align: right;
    margin-right: 11px;
    margin-bottom: 4px;
}


.hub-header-tags{
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-bottom: 65px;
}

.hub-presetearch, .hub-currentsearch, .hub-morefilter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}



.hub-header-tag-divider{
    width: 1px;
    height: 32px;
    border-left: 1px solid  #393A4F;
   
    
}
.hub-header-tag{
    padding: 4px 12px;
    border-radius: 152px;
    border: 1px solid #888DA8;
    color: #2D2F39;
    /*font-family: Inter;*/
    font-size: 14px;
    font-style: normal;
    font-weight:500;
    line-height: 24px; /* 171.429% */
    cursor: pointer;
    /*max-width: 170px;*/
    /*height: 34px;*/
    /*overflow-x: scroll;*/
    /*overflow: hidden;*/
}

.hub-header-bottom{
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.hub-header-icon{
    width: 90px;
    height: 90px;
    border-radius: 100%;
    background-color: #FFFFFF;
    position: absolute;
    top: -55px;
    margin: auto;
    right: calc(50% - 45px);
    font-size: 30px;
    color: #CECECE;
    padding-top: 45px;
}

.hub-header-result{
    position: absolute;
    top: -35px;
    z-index: 99;
    width: 100%;
}

.hub-navbar{
    display: none;
    opacity: 0;
    /*font-family: Inter;*/
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px; /* 162.406% */
    color: #999;
}

.hub-navbar.is-active{
    display: block;
    opacity: 1;
   
}
.hub-navbar-title{
    padding-right: 20px;
}

.hub-navbar .friend-tags{
    margin-left: 20px;
}

.hub-navbar .friend-tags label{
    margin-right: 5px;
}
.hub-navbar-result{
    margin-right: 12px;
}

.hub-mobile-filter-button{
    display: none;
    position: fixed;
    z-index: 100;
    top: 70px;
    left: 10px;
}

.hub-mobile-filter-button.is-active{
    display: block;
}

.hub-mobile-filter-pannel{
    z-index: 99999;
}

.hub-search-bar .select2-container{
    width: 100%;
}
.hub-search-bar .select2-search--inline{

    display: flex;
}
.hub-search-bar .select2-search--inline:before{
    font-family: "Font Awesome 6 Pro";
    content: "\f002";
    margin-left: 0.5rem;
}

.hub-search-bar .select2-container--default .select2-selection--multiple{
    border: none;
    border-radius: 8px;
    background: #F6F6F8;
    padding: 8px 16px;
    color: #5B5E70;
}


#subsearch {
    min-width: 400px;
}
#subsearch .select2-selection--multiple{
    border: none;
    color: #5B5E70;
    
}

.hub-morefilter .select2 .selection{
    height: 34px;
    display: block;
}
.hub-morefilter .select2-selection{
    height: 34px;

}
.hub-morefilter .select2-container--default .select2-selection--single{
    padding: 2px 12px;
    border-radius: 152px;
    border: 1px solid #888DA8;
    position: absolute;
    
    cursor: pointer;
}


.hub-morefilter .select2-selection__arrow{
    height: 34px !important;
    position: absolute !important;
    top: 0px !important;
    right: 10px !important;
    width: 20px !important;
}
.hub-morefilter .select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{
    border-bottom-left-radius: 152px !important;
    border-bottom-right-radius: 152px !important;
}

.hub-search-bar  .select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}


.hub-morefilter .select2-selection__placeholder{
    color: #2D2F39 !important;
    font-family: Inter !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 24px !important;
}

.hub-dropdown-search{
    margin-top: 10px;
    border-radius: 8px;
    border: 1px #D3D4DD;
}


.hub-dropdown-search .select2-results__option--selectable:before{
    font-family: "Font Awesome 6 Pro";
    content: "\f002";
    margin-left: 0.5rem;
    margin-right: 8px;
}
.hub-dropdown-search .select2-results__option{
    padding: 8px 16px;
    color: #2D2F39;
    /* Body/SM Text/Desktop & Mobile - Regular */
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight:  400;
    line-height: 24px; /* 171.429% */
    border-radius: 8px;
}
.hub-dropdown-search .select2-results__option--highlighted{
 background-color: #F6F6F8 !important;
 color: #2D2F39 !important;
}

.hub-dropdown-search .select2-results__group{
    color: #888DA8;
    /* Overline/02/Regular */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 18px */
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 8px 16px 4px 16px;

}

.hub-dropdown-search.preset{
    width: 300px !important;
}
.hub-expert .card-content {
    padding: 0;
}
.hub-expert .media-left {
    margin-right: 0;
}
.hub-expert .media-content>div,
.hub-expert .media-content>p {
    padding: 2px 0;
}
.hub-expert .card-title, 
.hub-expert .card-subtitle {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.hub-expert .card-title span,
.hub-expert .card-subtitle span {
    padding: 0 10px;
    position: relative;
}
.hub-expert .card-title span:not(:last-of-type)::after,
.hub-expert .card-subtitle span:not(:last-of-type)::after {
    content: '\f111';
    font-family: 'Font Awesome 6 Pro';
    font-size: 4px;
    transform: translateY(-50%);
    position: absolute;
    top: 60%;
    right: -2px;
    color: #888DA8;
    font-weight: bold;
}
.hub-expert .expert__name {
    font-size: 0.9rem;  
    font-weight: 500;  
}
.hub-expert .expert__collaborationAvailable {
    color: #19616D;
    font-size: 0.8rem;
}
.hub-expert span.expert__languages__more {
    background: #F6F6F8;
    height: 19px;
    width: 19px;
    padding: 0;
    color: #5B5E70;
    font-weight: 500;
    font-size: 10px;
    line-height: 19px;
    text-align: center;
    border-radius: 50%;
    margin: 0 -3px;
}

.hub-expert .card-subtitle {
    font-size: 0.8rem;
    color: #5B5E70;
}
.hub-expert .card-subtitle__flags {
    display: flex;
    margin-left: 4px;
}
.hub-expert .card-subtitle__flags img {
    aspect-ratio: 1 / 1;
    max-width: 18px;
    width: 18px;
    margin: 0 -3px;
}
.hub-expert .expert__currentProjects {
    font-size: 0.8rem;
    font-weight: 500;
    color: #2D2F39;
    margin-left: 10px;
    text-align: right;
}


.hub-expert .card-aside {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    /* flex: 1; */
}
.hub-expert .card-aside .button {
    padding: 0.8rem;
}

.hub-expert-tag {
    flex-basis: 100%;
}
.hub-expert .tag.is-success {
    color: #375C34;
    background: transparent;
    border: 1px solid #cecece;
}
.hub-expert .tag {
    max-width: 20%;
    white-space: nowrap;
    overflow: hidden; 
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
    padding-top: 2px;
    
}
.hub-mobile-filter-button .menu-toggle{
    background-color: #e3e3e3;
    border-radius: 100%;
    margin: 5px;
    /* padding: 10px; */
    width: 35px;
    height: 35px;
    padding: 3px 3px;
}

.hub-presetearch .hub-header-tag{
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden; 
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}


@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-813px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInAndSlide {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}