.liste-cta-entrees {
    display: block;
}

.liste-cta-entrees .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.liste-cta-entrees .row > a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex: 1 1 0;
    min-height: 400px;
    width: auto;
    height: auto;
    text-decoration: none;
    margin: 0;
}

.liste-cta-entrees .row > a > img {
    z-index: 0;
}

.liste-cta-entrees .row > a > span.filtre {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(42, 49, 28, 0.00) 0%, #2A311C 82.69%);
}

.liste-cta-entrees .row > a > .cta-wrapper {
    z-index: 2;
    position: relative;
}

.liste-cta-entrees .row > a > .cta-wrapper h2 {
    color: var(--BEIGE, #E4DDC0);
    text-align: center;

    /* Headlines/headline-2-desktop */
    font-family: "Relation Script";
    font-size: 3.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 41.250px; /* 125% */
}

.liste-cta-entrees .row > a > .cta-wrapper .btn {
    margin: 0 auto;
}

.liste-cta-entrees__item {
    cursor: pointer;
    transition: box-shadow 0.4s ease;
    will-change: transform, box-shadow;
}

.liste-cta-entrees__item .imgcrop {
    transition: transform 1s ease;
}

.liste-cta-entrees__item .cta-wrapper {
    transform-origin: center;
    pointer-events: none; /* pour éviter le lag du hover sur le texte */
}

.liste-cta-entrees__item .filtre {
    mix-blend-mode: multiply;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.liste-cta-entrees__item .btn {
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .liste-cta-entrees__item:hover .btn {
    background-color: #888E63;
    color: #E4DDC0; /* garde le contraste lisible, optionnel */
  }

@media (max-width: 992px) {
    .liste-cta-entrees .row {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .liste-cta-entrees .row > a {
        min-height: 300px;
        margin: 0;
    }
}
  