
/* MERCAT DE L'ESTRELLA - PROPERS ESDEVENIMENTS */

.estrella-esdeveniments {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
    width: 100%;
    margin: 20px 0;
}

.estrella-event {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

/*
.estrella-event img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
}
*/

/* Imagen completa sin recortes */
.estrella-event img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.estrella-event-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.estrella-event-date {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
}

.estrella-event h3 {
    font-size: 15px !important;
    line-height: 1.3;
    margin: 0 0 12px;
}

.estrella-event h3 a {
    color: #222;
    text-decoration: none;
}

.estrella-event-button {
    display: block;
    margin-top: auto;
    background: #b71c1c;
    color: #fff !important;
    padding: 8px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
}

.estrella-event-button:hover {
    background: #8e1515;
}

/* TABLET */
@media (max-width: 1024px) {
    .estrella-esdeveniments {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* MOVIL */
@media (max-width: 600px) {
    .estrella-esdeveniments {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

/*
    .estrella-event img {
        height: 110px;
    }
*/
    .estrella-event-content {
        padding: 8px;
    }

    .estrella-event h3 {
        font-size: 13px !important;
    }
}
