/* ==========================================================================
   MW EVENT LOOP ITEM WIDGET
   For use inside Elementor Loop Grid
   ========================================================================== */

.mw-event-loop-item {
    display: block;
}

/* Event Type (from taxonomy) */
.mw-event-loop-item__type {
    color: #2F31FC;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .mw-event-loop-item__type {
        font-size: 18px;
    }
}

/* Title */
.mw-event-loop-item__title {
    color: #000000;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 400;
    margin: 0 0 10px 0;
}

@media (min-width: 768px) {
    .mw-event-loop-item__title {
        font-size: 25px;
        line-height: 1.15;
    }
}

.mw-event-loop-item__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mw-event-loop-item__title a:hover {
    color: #2F31FC;
}

/* Date & Time */
.mw-event-loop-item__date,
.mw-event-loop-item__time {
    color: #000000;
    font-size: 16px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .mw-event-loop-item__date,
    .mw-event-loop-item__time {
        font-size: 18px;
    }
}

.mw-event-loop-item__date {
    margin-bottom: 5px;
}

/* Register Button */
.mw-event-loop-item__register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    border-radius: 4px;
    background-color: #2F31FC;
    color: #ffffff;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    margin-top: 15px;
}

@media (min-width: 768px) {
    .mw-event-loop-item__register {
        font-size: 16px;
    }
}

.mw-event-loop-item__register:hover {
    background-color: #1a1cd9;
    color: #ffffff;
    text-decoration: none;
}

/* Reset button element defaults when used as popup trigger */
button.mw-event-loop-item__register {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

/* Placeholder styling for editor */
.mw-event-loop-item--placeholder {
    padding: 15px;
    background-color: #fafafa;
    border: 1px dashed #ddd;
    border-radius: 4px;
}
