/* DISEÑO PRECIOSISTA TIPO "EXPO GUADALAJARA" */

.events-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, 220px) !important; /* Ancho fijo para que no se estiren */
    justify-content: start !important; /* Alineado a la izquierda */
    gap: 20px !important;
    padding: 0px !important; /* Quitar padding extra del contenedor */
    background-color: transparent !important;
    font-family: 'Inter', sans-serif !important;
}

.event-card {
    background: #fff !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid #eee !important;
    width: 220px !important; /* Ancho fijo */
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.event-image {
    height: 140px !important;
    background-size: cover !important;
    background-position: center !important;
    border-bottom: 4px solid #008a8a !important;
}

.event-content {
    padding: 15px !important;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-category {
    font-size: 10px !important;
    color: #008a8a !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px;
}

.events-grid .event-card .event-title {
    font-size: 15px !important;
    margin: 0 0 12px 0 !important;
    color: #222 !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    min-height: 36px;
}

.event-info {
    font-size: 12px !important;
    color: #666 !important;
}

.info-item {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
}

.info-item .dashicons {
    margin-right: 8px !important;
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    color: #008a8a !important; /* Color de marca en iconos */
    flex-shrink: 0;
}

@media (max-width: 500px) {
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
        justify-content: center !important;
    }
    .event-card {
        width: 100% !important;
    }
}