/**
 * Tabs
 */
 .tabs {
    display: flex;
    flex-wrap: wrap; /* make sure it wraps */
}
.tabs label:hover {
    background: #00008D;
    color: white;
}


.tabs label {
    order: 1; /* Put the labels first */
    display: block;
    margin-right: 0.2rem;
    color:#393939;
    padding: 5px 12px;
    cursor: pointer;
    border-radius: 19px;
    font-weight: bold;
    transition: background ease 0.2s;
}
.tabs .tab {
    order: 99; /* Put the tabs last */
    flex-grow: 1;
    width: 100%;
    display: none;
    padding: 1rem;
}
.tabs input[type="radio"] {
    display: none;
}
.tabs input[type="radio"]:checked + label {
    background: #00008D;
    color: #fff;
    
}
.tabs input[type="radio"]:checked + label + .tab {
    display: block;
}

@media (max-width: 45em) {
    .tabs .tab,
    .tabs label {
        order: 1;
    }
    .tabs label {
        width: 100%;
        margin-right: 0;
        margin-top: 0.2rem;
    }
}

.case-study-grid {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;

}
.case-study-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    width:32%;
    border-radius: 20px;
}
.case-study-item {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.case-study-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.case-study-item img{
    border-radius: 20px 20px 0 0;
}

.case-study-item h3 {
    margin: 10px 10px;
    color: #00008D;
}
.use-case-category a{
    color : #393939; 
    font-weight: 700;
   
}
.use-case-category{
    margin: 10px 10px;
}

.edc-content {
    margin: 10px 10px;
}

@media (max-width:664px){
    .case-study-item {
        width: 100%;
    }
}
@media (min-width:665px) and (max-width:1290px){
    .case-study-item {
        width: 48%;
    }
}


/*CPT equipe*/
.equipe-grid .grid {
    display: flex;
    flex-wrap: wrap;
    gap:0.25rem;
}

.equipe-grid .equipe-item {
    flex: 1 1 calc(33.333% - 20px); /* Trois éléments par ligne */
    box-sizing: border-box;
    padding: 40px 32px;
    background: #fff;
    text-align: center;
}

.equipe-grid .equipe-item h3 {
    font-size: 28px;
    margin-top:30px;
    padding-bottom:0;
    color: #00008d;
}

.equipe-grid .equipe-item img {
    max-width: 100%;
    width:200px;
    height: auto;
    border-radius: 100px;
}

.equipe-grid .clearfix {
    width: 100%;
    clear: both;
}
.info-equipe,.info-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: black;
}

.separator {
    display: block;
    height: .0625rem;
    width: 3.5rem;
    overflow: hidden;
    background-color: #e6e6e6;
}
.equipe-item:hover{
    box-shadow:0px 8px 16px -1px rgba(5, 28, 44, 0.2), 0px 0px 1px 0px rgba(5, 28, 44, 0.15);
    cursor: pointer;
}
.info-text{
    gap:0.5rem
}
p.description_courte {
    color: #333;
    font-weight: 400;
}
p.intitule-du-poste{
    padding-bottom:0px !important; 
    font-weight: 500;   
}

@media (max-width: 1024px) {
    .equipe-grid .equipe-item {
        flex: 1 1 calc(50% - 20px); /* Deux éléments par ligne */
    }
}
@media (max-width: 650px) {
    .equipe-grid .equipe-item {
        flex: 1 1 calc(100% - 20px); /* Un élément par ligne */
    }
}