.event-card-site {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 15px;
    justify-items: center;
    margin: 40px 0;

}

.event-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background-color: #fff;
    font-family: Arial, sans-serif;
    transition: transform 0.3s;
    max-width: 500px;
}

    .event-card:hover {
        transform: translateY(-5px);
    }

.event-image-wrapper {
    position: relative;
}

.event-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.event-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff8000;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
}

.event-content {
    padding: 15px;
}

.event-date {
    font-size: 14px;
    color: #ff8000;
    margin-bottom: 8px;
    font-weight: 600;
}

.event-title {
    font-size: 19px;
    margin: 0 0 10px 0;
    color: #333;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-description {
    font-size: 15px;
    color: #555;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-link {
    font-size: 14px;
    color: #ff8000;
    text-decoration: none;
    font-weight: bold;
}

    .event-link:hover {
        text-decoration: underline;
    }

.event-card-animated {
    animation-duration: 2s;
    animation-fill-mode: both;
    -webkit-animation-duration: 2s;
    -webkit-animation-fill-mode: both
}

.animatedFade {
    opacity: 0
}

.fadeInUp {
    opacity: 0;
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
}

@keyframes fadeInUp {
    from {
        transform: translate3d(0, 50px, 0)
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1
    }
}

@-webkit-keyframes fadeInUp {
    from {
        transform: translate3d(0, 50px, 0)
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1
    }
}

@media only screen and (max-width: 520px) {
    .event-card-site {
        padding: 20px;
    }
}