.partners-filter {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none !important;
}

.filter-partenaire {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-filter{
    font-size: 20px;
    font-weight: 800;
    line-height: 30px;
    color: #0F695F;
}

.picto-filter {
    display: inline-block;
    background-image: url("./filter.svg") ;
    width: 24px;
    height: 24px;
    background-size: contain;   
    background-repeat: no-repeat;
}

.reset-filter {
    position: relative;
	align-items: center;
	width: fit-content;
	padding: 0;
	margin-left: var(--wp--preset--spacing--20);
	font-family: inherit;
	font-size: 16px;
	color: var(--wp--preset--color--primary);
	background-color: transparent;
	border: none;
	border-bottom: 1px solid var(--wp--preset--color--primary);
    visibility: hidden;
	appearance: none;
	cursor: pointer;
}

.reset-filter::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.4714 3.52858C12.7317 3.78892 12.7317 4.21103 12.4714 4.47138L4.47138 12.4714C4.21103 12.7317 3.78892 12.7317 3.52858 12.4714C3.26823 12.211 3.26823 11.7889 3.52858 11.5286L11.5286 3.52858C11.7889 3.26823 12.211 3.26823 12.4714 3.52858Z' fill='%230F695F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.52858 3.52858C3.78892 3.26823 4.21103 3.26823 4.47138 3.52858L12.4714 11.5286C12.7317 11.7889 12.7317 12.211 12.4714 12.4714C12.211 12.7317 11.7889 12.7317 11.5286 12.4714L3.52858 4.47138C3.26823 4.21103 3.26823 3.78892 3.52858 3.52858Z' fill='%230F695F'/%3E%3C/svg%3E");
    position: absolute;
    top: 4px;
    left: -24px;
}

.picto-reset {
    background-image: url("./vector.svg") ;
    width: 11px;
    height: 11px;
    margin-right: 4px;
    display: inline-block;
    background-size: contain;   
    background-repeat: no-repeat;
    cursor: pointer;
}


/* .clear{
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: var(--wp--preset--spacing--20);
    margin-bottom: 4px;
} */

.checkbox-partenaire label {
    text-transform: capitalize;
}

.checkbox-partenaire {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
}

/* input type chekbox des partenaires */

input[type="checkbox"] {
    accent-color: var(--wp--preset--color--primary);
}

.partenaire-group-parent {
    gap: 1rem;
}

.partenaire-group-by-terms {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 1rem;
    padding: 0;
    padding-bottom: 64px;
}

.partenaire-group {
    height: 167px;
    width: 167px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    border-radius: 0.5rem;
    border: 1px solid #C5CFDA;
    list-style: none;
    overflow: hidden;
    margin: auto; 
}

.partenaire-logo-container {
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-partenaire {
    object-fit: contain;
    width: 135px;
    height: 74px;
}

.border-separator {
    width: 100%;
    border-top: 1px solid #EDF0F5;
}

.partenaire-group-title {
    font-size:  var(--wp--preset--font-size--l);
    font-weight: 800;
    line-height: 30px;
    color: #0F695F;
}

.partenaire-title-container {
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0.5rem;
}

p.name-partenaire {
    text-align: center;
    margin: 0;
    font-size: var(--wp--preset--font-size--s);
    font-weight: 700;
    word-wrap: break-word; 
}

/* Mobile */
@media (max-width: 1024px) {

    .partenaire-group-by-terms {
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
    }

    .filter-partenaire {
        width: 100%; 
        order: -1; /* filtre en premier */
    }
}

@media (max-width: 768px) {

    .partenaire-group-by-terms {
        grid-template-columns: repeat(2, 1fr); 
    }

    .partenaire-group {
        width: 167px; 
        height: 167px; 
        justify-self: center;
    }
}