.modern-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.event-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease-in-out;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.event-banner {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background-color: #f0f0f0;
}

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

.event-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #333;
}

.event-title a {
    color: inherit;
    text-decoration: none;
}

.event-title a:hover {
    color: #0073aa;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.meta-chip {
    background-color: #e9ecef;
    color: #495057;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.beneficiary-badge {
    background-color: #d1e7dd;
    color: #0f5132;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-block;
}

.event-status-bar {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.status-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

.status-action-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #0073aa;
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s;
}

.status-action-btn:hover {
    background-color: #005177;
    color: #fff;
}

.status-action-btn.secondary {
    background-color: #6c757d;
}

.status-action-btn.secondary:hover {
    background-color: #5a6268;
}
