/* PARTENAIRE */

.partenaire .btn-border a::before {
    width: 270px;
    background: var(--black);
}

.partenaire .btn-border .btn:hover {
    color: var(--white);
    background-color: var(--black);
}

.partenaire .btn-border .btn:hover::after {
    background-image: url(/wp-content/themes/Template/images/fleche-btn-blanc.svg);
}

.partenaire .btn-border .btn:hover::before {
    background: var(--white);
}

@media screen and (max-width:800px) {
    .partenaire {
        padding: 2em 0 0;
    }
}

@media screen and (max-width: 480px) {
    .bloc-carou img {
        height: 100px;
    }

    .partenaire .btn {
        padding: 12px 60px 12px 12px;
    }

    .partenaire .btn-border a::before {
        width: 235px;
    }
}

/* ACTU */

.actu {
    background-color: var(--primary);
}

.actu .bloc-1 {
    margin-bottom: 1em;
}

.actu img {
    aspect-ratio: 2/1;
    object-fit: cover;
    width: 100%;
    height: 350px;

}

.actu .date {
    margin: 0;
}

.actu p {
    margin-bottom: 1em;
}

.btn-actu {
    text-align: center;
    margin-top: 1em;
}

@media screen and (min-width:481px) and (max-width:800px) {
    .actu .bloc-2:nth-child(2) {
        margin-bottom: 2em;
    }
}

@media screen and (max-width:480px) {

    .actu .bloc-2:nth-child(2) {
        margin-bottom: 4em;
    }
}

/* Masonry galery */

.grid-wrapper>div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-wrapper>div>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.grid-wrapper {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
}

.grid-wrapper .wide {
    grid-column: span 2;
}

.grid-wrapper .tall {
    grid-row: span 2;
}

.grid-wrapper .big {
    grid-column: span 2;
    grid-row: span 2;
}