.projets_grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.projets_row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.projets_row:nth-child(even):only-child {
    justify-content: flex-end;
}

.projets_row:nth-child(even):only-child .projet_large {
    flex: 0 1 66.66%;
}

.projets_small_container {
    flex: 1 1 33.33%;
    display: flex;
    flex-direction: column;
    max-width: 33.33%;
}

.projets_small_container .projet_small:first-child {
    margin-bottom: 10px;
}

.projet_large {
    width: 66%;
    height: calc(60vh + 10px);
}

.projet_small {
    flex: 1;
    width: 100%;
    max-height: 30vh;
    min-height: 30vh;
}

.projet_large,
.projet_small {
    position: relative;
}

.projet_large img,
.projet_small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projet_hover {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 10px 0 10px;
    width: 100%;
    height: 100%;
    background-color: var(--waixing-secondary-color);
    color: var(--waixing-primary-color);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.projet_large:hover .projet_hover,
.projet_small:hover .projet_hover {
    opacity: 1;
}

.projet_title {
    font-size: 23px;
    line-height: 1.1em;
    font-family: var(--waixing-primary-font);
    font-weight: var(--waixing-font-regular);
    margin-bottom: 10px;
}

.projet_terms {
    font-size: 12px;
    font-family: var(--waixing-primary-font);
    color: var(--waixing-primary-color);
    margin: 0;
    text-transform: uppercase;
}

.projet_empty{
    color: var(--waixing-primary-color);
    font-family: var(--waixing-secondary-font);
    font-size: 14px;
    text-align: center;
}
.wpgb-facet-title{display: none;}
.wpgb-button.wpgb-load-more{visibility: hidden;}
@media (max-width: 992px) {
    .projet_large {
        width: 66%;
        height: calc(40vh + 10px);
    }
    .projet_small {
        flex: 1;
        width: 100%;
        max-height: 20vh;
        min-height: 20vh;
    }
}
@media (max-width: 768px) {
    .projets_grid,
    .projets_row {
        flex-direction: column;
    }

    .projet_large,
    .projet_small,
    .projets_small_container {
        width: 100%;
        min-height: 30vh;
    }
    .projet_large,
    .projet_small{
        height: 30vh;
        max-height: 30vh;
    }

    .projets_small_container {
        max-width: unset;
    }

    .projet_large img,
    .projet_small img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .projets_row img{max-height:30vh}
}