/* ==========================================================================
   MW EVENT SERIES BLOCK WIDGET
   ========================================================================== */

.mw-event-series {
    display: block;
    padding: 30px;
    background-color: #f9f9f9;
}

.mw-event-series--empty {
    padding: 20px;
    background-color: #f5f5f5;
    border: 1px dashed #ccc;
    text-align: center;
}

.mw-event-series--empty p {
    margin: 0;
    color: #666;
}

/* Series Title */
.mw-event-series__title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 400;
    margin: 0 0 20px 0;
    color: #000000;
}

@media (min-width: 768px) {
    .mw-event-series__title {
        font-size: 36px;
    }
}

/* Series Description */
.mw-event-series__description {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 30px;
}

.mw-event-series__description p:last-child {
    margin-bottom: 0;
}

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

/* Events List */
.mw-event-series__events {
    display: flex;
    flex-direction: column;
}

/* Individual Event Card */
.mw-event-series__event {
    border: 1px solid #2F31FC;
    border-left-width: 3px;
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
}

.mw-event-series__event:last-child {
    margin-bottom: 0;
}

/* Event Date */
.mw-event-series__event-date {
    font-size: 16px;
    font-weight: 600;
    color: #2F31FC;
    margin-bottom: 10px;
}

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

/* Event Info Row */
.mw-event-series__event-info {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 0;
    font-size: 15px;
    line-height: 1.5;
}

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

/* Event Type */
.mw-event-series__event-type {
    color: #2F31FC;
    font-weight: 500;
}

.mw-event-series__event-type::after {
    content: ' ';
}

/* Event Details (time, location etc) */
.mw-event-series__event-details {
    color: #000000;
}

/* Event Link */
.mw-event-series__event-link {
    display: block;
    width: 100%;
    margin-top: 10px;
}

@media (min-width: 576px) {
    .mw-event-series__event-link {
        display: inline;
        width: auto;
        margin-top: 0;
        margin-left: 10px;
    }
    
    .mw-event-series__event-link::before {
        content: '– ';
    }
}

.mw-event-series__event-link a {
    color: #2F31FC;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.mw-event-series__event-link a:hover {
    color: #000000;
}

/* No Events Message */
.mw-event-series__no-events {
    color: #666;
    font-style: italic;
}
