.events-list-wrapper-5dce2bd0 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-year-header-5dce2bd0 {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0 15px 0;
    font-size: 18px;
    font-weight: bold;
    color: #0073aa;
}
.event-year-header-5dce2bd0::before,
.event-year-header-5dce2bd0::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid #e1e1e1;
}
.event-year-header-5dce2bd0:not(:empty)::before {
    margin-right: .5em;
}
.event-year-header-5dce2bd0:not(:empty)::after {
    margin-left: .5em;
}

.event-item-expired-5dce2bd0 {
    opacity: 0.55;
    filter: grayscale(40%);
}
.event-expired-label-5dce2bd0 {
    font-size: 12px;
    font-style: italic;
    color: #888888;
    margin-left: 8px;
    font-weight: normal;
}

.event-item-5dce2bd0 {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.event-item-5dce2bd0:hover {
    background-color: #f1f1f1;
    transform: translateY(-2px);
}

.event-date-badge-5dce2bd0 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #0073aa;
    color: #ffffff;
    border-radius: 8px;
    flex-shrink: 0;
}

.badge-day-5dce2bd0 {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.1;
}

.badge-month-5dce2bd0 {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
}

.event-details-5dce2bd0 {
    flex-grow: 1;
}

.event-title-5dce2bd0 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.event-meta-5dce2bd0 {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 13px;
}

.event-meta-item-5dce2bd0 {
    display: flex;
    align-items: center;
    gap: 5px;
}

.no-events-message-5dce2bd0 {
    padding: 20px;
    background: #fdfdfd;
    border: 1px dashed #cccccc;
    text-align: center;
    color: #666666;
    border-radius: 8px;
    font-size: 15px;
}

/* Modal Styling */
.ec-modal-overlay-5dce2bd0 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

/* Adjust top when admin bar is present */
body.admin-bar .ec-modal-overlay-5dce2bd0 {
    top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .ec-modal-overlay-5dce2bd0 {
        top: 46px;
    }
}

.ec-modal-content-5dce2bd0 {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-height: 85vh;
    overflow-y: auto;
}

.ec-modal-close-5dce2bd0 {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    color: #999;
}

.ec-modal-close-5dce2bd0:hover {
    color: #333;
}

.ec-modal-title-5dce2bd0 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 700;
    color: #333333;
}

.ec-modal-meta-5dce2bd0 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.ec-modal-meta-item-5dce2bd0 i {
    color: #0073aa;
    width: 18px;
    margin-right: 5px;
}

.ec-modal-body-5dce2bd0 {
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
}
