/* nx-events-block.css */

/* Container for the block */
.nx-events-block {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* Individual card */
.nx-event-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.nx-event-card:hover {
    transform: translateY(-5px);
}

/* Card header */
.nx-event-card-header {
    background: #6200ea;
    color: #fff;
    padding: 16px;
    font-size: 1.25em;
    font-weight: bold;
}

/* Card content */
.nx-event-card-content {
    padding: 16px;
    flex-grow: 1;
}

/* Card footer */
.nx-event-card-footer {
    background: #f1f1f1;
    padding: 16px;
    text-align: right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nx-event-card {
        width: calc(50% - 16px);
    }
}

@media (max-width: 480px) {
    .nx-event-card {
        width: calc(100% - 16px);
    }
}