/* Lightweight compact list, independent of the event carousel. */
.mcc-screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.mcc-upcoming-events-heading {
    margin: 0 0 18px;
    color: #0b2f55;
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1.15;
}

.mcc-no-events {
    margin: 0;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #334155;
}

.mcc-view-calendar {
    margin-top: 22px;
    text-align: center;
}

.mcc-view-calendar a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0b2f55;
    font-weight: 800;
    text-decoration: none;
}

.mcc-view-calendar a:hover,
.mcc-view-calendar a:focus {
    text-decoration: underline;
}
.mcc-view-calendar a:focus-visible {
    outline: 3px solid #0b2f55;
    outline-offset: 3px;
    border-radius: 3px;
}


/* 2.10.14 — compact upcoming-events shortcode on every screen size.
   Independent of the horizontal carousel and theme-specific desktop overrides. */
.mcc-upcoming-compact,
.mcc-upcoming-compact * { box-sizing: border-box; }
.mcc-upcoming-compact {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font: inherit;
    color: #213744;
}
.mcc-upcoming-compact .mcc-upcoming-events-heading { margin: 0 0 10px; }
.mcc-upcoming-compact .mcc-upcoming-compact-list {
    display: block;
    list-style: none !important;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}
.mcc-upcoming-compact .mcc-upcoming-compact-item {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border-bottom: 1px solid #e5ebe5;
    background: transparent;
}
.mcc-upcoming-compact .mcc-upcoming-compact-item:last-child { border-bottom: 0; }
.mcc-upcoming-compact .mcc-upcoming-compact-link {
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    align-items: start;
    gap: 11px;
    min-width: 0;
    padding: 11px 0 !important;
    margin: 0 !important;
    color: inherit !important;
    text-decoration: none !important;
    background: transparent;
}
.mcc-upcoming-compact .mcc-upcoming-compact-link:hover .mcc-upcoming-compact-title,
.mcc-upcoming-compact .mcc-upcoming-compact-link:focus-visible .mcc-upcoming-compact-title {
    text-decoration: underline;
}
.mcc-upcoming-compact .mcc-upcoming-compact-link:focus-visible {
    outline: 3px solid #24679b;
    outline-offset: 2px;
    border-radius: 3px;
}
.mcc-upcoming-compact .mcc-upcoming-compact-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    min-height: 48px;
    padding: 5px 2px;
    border-radius: 4px;
    background: #f0f5ec;
    color: #28592d;
    text-align: center;
    line-height: 1.1;
}
.mcc-upcoming-compact .mcc-upcoming-compact-month {
    display: block;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
}
.mcc-upcoming-compact .mcc-upcoming-compact-day {
    display: block;
    margin-top: 3px;
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    overflow-wrap: anywhere;
}
.mcc-upcoming-compact .mcc-upcoming-compact-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 0;
}
.mcc-upcoming-compact .mcc-upcoming-compact-title {
    display: block;
    margin: 0 0 2px;
    color: #193d57;
    font-size: 15px;
    line-height: 1.32;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.mcc-upcoming-compact .mcc-upcoming-compact-meta,
.mcc-upcoming-compact .mcc-upcoming-compact-excerpt {
    display: block;
    color: #4e5b62;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
    overflow-wrap: anywhere;
}
.mcc-upcoming-compact .mcc-upcoming-compact-status {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin: 3px 0;
    padding: 3px 7px;
    border-radius: 4px;
    background: #f1e8cf;
    color: #6d5318;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
}
.mcc-upcoming-compact .mcc-view-calendar {
    margin: 12px 0 0;
    text-align: left;
    font-size: 13px;
}
@media (max-width: 420px) {
    .mcc-upcoming-compact .mcc-upcoming-compact-link { gap: 10px; }
    .mcc-upcoming-compact .mcc-upcoming-compact-details { min-width: 0; }
}
