
.university-events {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.event-card {
    width: 250px;
    background-color: #f5faff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: scale(1.02);
}

.event-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.event-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.event-date {
    background-color: #2b2b2b;
    color: #fff;
    font-weight: bold;
    padding: 6px 10px;
    display: inline-block;
    border-radius: 5px;
    font-size: 13px;
    margin-bottom: 8px;
}

.event-room {
    color: #f7941d;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

.event-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .event-card {
        width: 100%;
        max-width: 95%;
    }
}
    