/* My Custom Calendar - FullCalendar views and calendar messages */
.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-calendar-region {
    min-width: 0;
}

.mcc-full-calendar {
    min-width: 0;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
}
.mcc-full-calendar .fc {
    max-width: 100%;
    --fc-border-color: #dbe4ec;
    --fc-button-bg-color: #0b2f55;
    --fc-button-border-color: #0b2f55;
    --fc-button-hover-bg-color: #154b7c;
    --fc-button-hover-border-color: #154b7c;
    --fc-button-active-bg-color: #08243f;
    --fc-button-active-border-color: #08243f;
    --fc-event-bg-color: #0b2f55;
    --fc-event-border-color: #0b2f55;
    --fc-event-text-color: #fff;
    --fc-page-bg-color: #fff;
    --fc-neutral-bg-color: #f8fafc;
    --fc-neutral-text-color: #334155;
    --fc-list-event-hover-bg-color: #f7fafc;
}
.mcc-full-calendar .fc-toolbar {
    flex-wrap: wrap;
    gap: 8px;
}
.mcc-full-calendar .fc-button {
    border-radius: 8px !important;
    text-transform: none !important;
    font-weight: 700 !important;
}
.mcc-full-calendar .fc-event {
    border-radius: 6px;
    padding: 2px 4px;
    border: 0;
    font-weight: 700;
}
.mcc-full-calendar .mcc-status-cancelled {
    text-decoration: line-through;
    opacity: 0.78;
}
.mcc-calendar-message,
.mcc-calendar-filter-note {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0b2f55;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
    color: #1f2937;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.mcc-calendar-message strong,
.mcc-calendar-filter-note strong {
    color: #111827;
    font-weight: 800;
}
@media (max-width: 600px) {

    .mcc-full-calendar .fc-list-table,
.mcc-full-calendar .fc-scrollgrid {
        width: 100%;
    }
}
.mcc-full-calendar .fc-list {
    overflow: visible;
    border: 0;
    background: transparent;
}
.mcc-full-calendar .fc-list-table {
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
}
.mcc-full-calendar .fc-list-day > th {
    padding: 18px 0 9px;
    border: 0;
    background: transparent;
}
.mcc-full-calendar .fc-list-day:first-child > th {
    padding-top: 0;
}
.mcc-full-calendar .fc-list-day-cushion {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 14px;
    padding: 9px 13px;
    border-radius: 9px;
    background: #0b2f55;
    color: #fff;
    font-weight: 800;
}
.mcc-full-calendar .fc-list-day-text,
.mcc-full-calendar .fc-list-day-side-text {
    color: inherit;
    text-decoration: none;
}
.mcc-full-calendar .fc-list-day-text:hover,
.mcc-full-calendar .fc-list-day-side-text:hover {
    color: inherit;
    text-decoration: underline;
}
.mcc-full-calendar .fc-list-day-text:focus-visible,
.mcc-full-calendar .fc-list-day-side-text:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
    border-radius: 2px;
}
.mcc-full-calendar .fc-list-event > td {
    border-color: #dbe4ec;
    background: #fff;
}
.mcc-full-calendar .fc-list-event:hover > td {
    background: #f7fafc;
}
.mcc-full-calendar .fc-list-event.mcc-list-event-clickable {
    cursor: pointer;
}
.mcc-full-calendar .fc-list-event-time {
    color: #334155;
    font-weight: 800;
}
.mcc-full-calendar .fc-list-event-graphic,
.mcc-full-calendar .fc-list-event-dot {
    display: none !important;
}
.mcc-full-calendar .fc-list-event-title {
    min-width: 0;
}
.mcc-full-calendar .fc-list-event-title > a {
    display: block;
    min-width: 0;
    color: #0b2f55;
    text-decoration: none;
}
.mcc-full-calendar .fc-list-event-title > a:hover .mcc-calendar-list-title {
    text-decoration: underline;
    text-underline-offset: 0.16em;
}
.mcc-full-calendar .fc-list-event-title > a:focus-visible {
    outline: 3px solid #0b2f55;
    outline-offset: 3px;
    border-radius: 4px;
}
.mcc-calendar-list-content {
    display: grid;
    min-width: 0;
    gap: 7px;
}
.mcc-calendar-list-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 9px;
    min-width: 0;
}
.mcc-calendar-list-title {
    min-width: 0;
    color: #0b2f55;
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 800;
    overflow-wrap: anywhere;
}
.mcc-calendar-list-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    max-width: 100%;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff4d6;
    color: #7a4b00;
    font-size: 0.72rem;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.mcc-calendar-list-status-cancelled {
    background: #fee2e2;
    color: #7f1d1d;
}
.mcc-calendar-list-status-postponed {
    background: #fff0e6;
    color: #8a2d0b;
}
.mcc-calendar-list-meta {
    display: grid;
    gap: 3px;
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.45;
}
.mcc-calendar-list-meta-item {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}
.mcc-calendar-list-meta-label {
    color: #1f2937;
    font-weight: 800;
}
.mcc-full-calendar .fc-list-empty {
    padding: 18px;
    border: 1px solid #dbe4ec;
    border-radius: 10px;
    background: #f8fafc;
    color: #334155;
}
.mcc-calendar-noscript,
.mcc-calendar-noscript-message {
    margin: 20px 0 0;
    padding: 18px;
    border: 1px solid #dbe4ec;
    border-radius: 10px;
    background: #f8fafc;
    color: #1f2937;
}
.mcc-calendar-noscript h2 {
    margin: 0 0 14px;
    color: #0b2f55;
    font-size: 1.35rem;
}
.mcc-calendar-noscript ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mcc-calendar-noscript li {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border: 1px solid #dbe4ec;
    border-radius: 8px;
    background: #fff;
}
.mcc-calendar-noscript a {
    color: #0b2f55;
    font-weight: 800;
}
@media (max-width: 600px) {
    .mcc-full-calendar {
        overflow: visible;
    }

    .mcc-full-calendar .fc-header-toolbar {
        gap: 10px;
        margin-bottom: 18px;
    }

    .mcc-full-calendar .fc-toolbar-title {
        font-size: clamp(1.35rem, 7vw, 1.75rem);
        line-height: 1.2;
        text-align: center;
    }

    .mcc-full-calendar .fc-toolbar-chunk {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 7px;
    }

    .mcc-full-calendar .fc-button,
.mcc-full-calendar .fc-button-group > .fc-button {
        min-width: 44px;
        min-height: 44px;
        margin: 0;
    }

    .mcc-full-calendar .fc-list-table,
.mcc-full-calendar .fc-list-table > tbody {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .mcc-full-calendar .fc-list-day,
.mcc-full-calendar .fc-list-day > th {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .mcc-full-calendar .fc-list-day > th {
        padding: 18px 0 9px;
    }

    .mcc-full-calendar .fc-list-day:first-child > th {
        padding-top: 0;
    }

    .mcc-full-calendar .fc-list-day-cushion {
        justify-content: flex-start;
        gap: 0;
        padding: 10px 13px;
        border-radius: 8px;
        font-size: 0.98rem;
        line-height: 1.35;
        text-align: left;
    }

    .mcc-full-calendar .fc-list-day-text {
        flex: 0 1 auto;
        min-width: 0;
        overflow-wrap: normal;
        word-break: normal;
    }

    .mcc-full-calendar .fc-list-day-side-text {
        display: none;
    }

    .mcc-full-calendar .fc-list-day-text::after,
.mcc-full-calendar .fc-list-day-side-text::after {
        content: none;
    }

    .mcc-full-calendar .fc-list-event {
        display: grid;
        cursor: pointer;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        margin: 0 0 12px;
        padding: 0;
        overflow: hidden;
        border: 1px solid #d6e0e8;
        border-radius: 11px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    }

    .mcc-full-calendar .fc-list-event:last-child {
        margin-bottom: 0;
    }

    .mcc-full-calendar .fc-list-event > td {
        display: block;
        width: 100%;
        max-width: 100%;
        border: 0;
        background: transparent;
    }

    .mcc-full-calendar .fc-list-event:hover > td {
        background: transparent;
    }

    .mcc-full-calendar .fc-list-event-time {
        padding: 12px 15px 2px;
        color: #334155;
        font-size: 0.92rem;
        line-height: 1.35;
        white-space: normal;
    }

    .mcc-full-calendar .fc-list-event-title {
        padding: 5px 15px 15px;
    }

    .mcc-full-calendar .fc-list-event-title > a {
        width: 100%;
        min-height: 44px;
        padding: 1px 0;
    }

    .mcc-calendar-list-content {
        gap: 8px;
    }

    .mcc-calendar-list-title-row {
        display: grid;
        justify-items: start;
        gap: 7px;
    }

    .mcc-calendar-list-title {
        font-size: 1.08rem;
        line-height: 1.32;
    }

    .mcc-calendar-list-meta {
        gap: 5px;
        padding-top: 8px;
        border-top: 1px solid #e2e8f0;
        font-size: 0.93rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .mcc-full-calendar * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
@media (forced-colors: active) {
    .mcc-full-calendar .fc-list-day-cushion,
.mcc-full-calendar .fc-list-event,
.mcc-calendar-list-status,
.mcc-calendar-noscript,
.mcc-calendar-noscript li {
        border: 1px solid CanvasText;
        forced-color-adjust: auto;
    }
}
.mcc-full-calendar .fc-header-toolbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 20px;
    margin-bottom: 22px;
}
.mcc-full-calendar .fc-header-toolbar .fc-toolbar-chunk {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 4px !important;
}
.mcc-full-calendar .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) {
    justify-content: center;
    text-align: center;
}
.mcc-full-calendar .fc-header-toolbar .fc-toolbar-chunk:last-child {
    justify-content: flex-end;
}
.mcc-full-calendar .fc-button-group {
    display: inline-flex;
    align-items: center;
    gap: 4px !important;
}
.mcc-full-calendar .fc-button-group > .fc-button,
.mcc-full-calendar .fc-button-group > .fc-button:not(:first-child),
.mcc-full-calendar .fc-button-group > .fc-button:not(:last-child) {
    margin: 0 !important;
    border-radius: 7px !important;
}
.mcc-full-calendar .fc-button-primary {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0.66rem 0.9rem;
    border: 2px solid #0b2f55;
    border-radius: 7px !important;
    background: #0b2f55;
    color: #fff;
    box-shadow: none;
    font-family: inherit;
    font-size: 0.94rem;
    line-height: 1.1;
    font-weight: 800 !important;
    text-align: center;
    text-transform: none !important;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.mcc-full-calendar .fc-button-primary:hover:not(:disabled) {
    border-color: #154b7c;
    background: #154b7c;
    color: #fff;
}
.mcc-full-calendar .fc-button-primary:focus,
.mcc-full-calendar .fc-button-primary:focus-visible {
    position: relative;
    z-index: 2;
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px #0b2f55;
}
.mcc-full-calendar .fc-button-primary:disabled {
    opacity: 0.58;
    cursor: not-allowed;
}
.mcc-full-calendar .fc-button-primary:not(:disabled).fc-button-active,
.mcc-full-calendar .fc-button-primary:not(:disabled):active {
    border: 1px solid #0b2f55 !important;
    background: #eef4f8;
    color: #0b2f55;
    box-shadow: none;
}
.mcc-full-calendar .fc-prev-button,
.mcc-full-calendar .fc-next-button {
    width: 44px;
    padding-right: 0;
    padding-left: 0;
}
.mcc-full-calendar .fc-icon {
    width: 1em;
    height: 1em;
    font-size: 1.35em;
    line-height: 1;
}
.mcc-full-calendar .fc-toolbar-title {
    margin: 0;
    color: #0b2f55;
    font-size: clamp(1.55rem, 3.2vw, 2.15rem);
    line-height: 1.15;
    font-weight: 800;
    overflow-wrap: anywhere;
}
.mcc-full-calendar .fc-theme-standard .fc-scrollgrid {
    overflow: hidden;
    border: 1px solid #cfdbe5;
    border-radius: 10px;
    background: #fff;
}
.mcc-full-calendar .fc-theme-standard td,
.mcc-full-calendar .fc-theme-standard th {
    border-color: #dbe4ec;
}
.mcc-full-calendar .fc-col-header-cell {
    background: #eef4f8;
}
.mcc-full-calendar .fc-col-header-cell-cushion {
    display: block;
    padding: 11px 6px;
    color: #0b2f55;
    font-size: 0.86rem;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none;
}
.mcc-full-calendar .fc-col-header-cell-cushion:hover {
    color: #0b2f55;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}
.mcc-full-calendar .fc-col-header-cell-cushion:focus-visible,
.mcc-full-calendar .fc-daygrid-day-number:focus-visible,
.mcc-full-calendar .fc-daygrid-more-link:focus-visible,
.mcc-full-calendar .fc-event:focus-visible,
.mcc-full-calendar .fc-event-main:focus-visible {
    outline: 3px solid #0b2f55;
    outline-offset: 2px;
    border-radius: 4px;
}
.mcc-full-calendar .fc-daygrid-day-frame {
    min-height: 104px;
}
.mcc-full-calendar .fc-daygrid-day-top {
    padding: 3px 4px 0;
}
.mcc-full-calendar .fc-daygrid-day-number {
    display: inline-flex;
    min-width: 2rem;
    min-height: 2rem;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border-radius: 999px;
    color: #18324a;
    font-size: 0.9rem;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
}
.mcc-full-calendar .fc-day-today {
    background: #edf5fa !important;
}
.mcc-full-calendar .fc-day-today .fc-daygrid-day-number {
    background: #0b2f55;
    color: #fff;
}
.mcc-full-calendar .fc-day-other {
    background: #fafcfd;
}
.mcc-full-calendar .fc-day-other .fc-daygrid-day-number {
    color: #64748b;
    opacity: 1;
}
.mcc-full-calendar .fc-daygrid-event {
    min-width: 0;
    margin: 2px 4px;
    padding: 4px 6px;
    border: 0;
    border-radius: 5px;
    background: #0b2f55;
    color: #fff;
    white-space: normal;
}
.mcc-full-calendar .fc-daygrid-event:hover {
    background: #154b7c;
    color: #fff;
}
.mcc-full-calendar .fc-daygrid-event .fc-event-main,
.mcc-full-calendar .fc-daygrid-event .fc-event-main-frame {
    min-width: 0;
    color: inherit;
}
.mcc-full-calendar .fc-daygrid-event .fc-event-title,
.mcc-full-calendar .fc-daygrid-event .fc-event-time {
    color: inherit;
    font-size: 0.78rem;
    line-height: 1.25;
    font-weight: 700;
}
.mcc-full-calendar .fc-daygrid-event .fc-event-title {
    overflow-wrap: break-word;
    word-break: normal;
}
.mcc-full-calendar .fc-daygrid-event .fc-event-time {
    flex: 0 0 auto;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}
.mcc-full-calendar .fc-daygrid-more-link {
    display: inline-block;
    margin: 2px 5px 5px;
    padding: 3px 5px;
    border-radius: 4px;
    color: #0b2f55;
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 0.14em;
}
.mcc-full-calendar .fc-daygrid-more-link:hover {
    background: #e4edf4;
    color: #0b2f55;
}
.mcc-full-calendar .fc-timegrid-axis,
.mcc-full-calendar .fc-timegrid-slot-label {
    background: #f8fafc;
}
.mcc-full-calendar .fc-timegrid-axis-cushion,
.mcc-full-calendar .fc-timegrid-slot-label-cushion {
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
}
.mcc-full-calendar .fc-timegrid-slot {
    height: 2.65em;
}
.mcc-full-calendar .fc-timegrid-event {
    border: 0;
    border-radius: 6px;
    background: #0b2f55;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.16);
}
.mcc-full-calendar .fc-timegrid-event:hover {
    background: #154b7c;
}
.mcc-full-calendar .fc-timegrid-event .fc-event-main {
    padding: 4px 6px;
}
.mcc-full-calendar .fc-timegrid-event .fc-event-time,
.mcc-full-calendar .fc-timegrid-event .fc-event-title {
    color: #fff;
    font-size: 0.78rem;
    line-height: 1.25;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.mcc-full-calendar .fc-timegrid-now-indicator-line {
    border-color: #b42318;
    border-width: 2px 0 0;
}
.mcc-full-calendar .fc-timegrid-now-indicator-arrow {
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-left-color: #b42318;
}
.mcc-full-calendar .fc-popover {
    border: 1px solid #cfdbe5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}
.mcc-full-calendar .fc-popover-header {
    padding: 9px 11px;
    background: #eef4f8;
    color: #0b2f55;
    font-weight: 800;
}
@media (max-width: 760px) {
    .mcc-full-calendar .fc-header-toolbar {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 18px;
    }

    .mcc-full-calendar .fc-header-toolbar .fc-toolbar-chunk {
        width: 100%;
        justify-content: center;
    }

    .mcc-full-calendar .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) {
        order: 1;
    }

    .mcc-full-calendar .fc-header-toolbar .fc-toolbar-chunk:first-child {
        order: 2;
        flex-wrap: wrap;
    }

    .mcc-full-calendar .fc-header-toolbar .fc-toolbar-chunk:last-child {
        display: none !important;
        order: 3;
    }

    .mcc-full-calendar .fc-header-toolbar .fc-toolbar-chunk:last-child .fc-button-group {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: min(100%, 430px);
        gap: 8px;
    }

    .mcc-full-calendar .fc-header-toolbar .fc-toolbar-chunk:last-child .fc-button {
        display: inline-flex !important;
        width: 100%;
        min-width: 0;
    }

    .mcc-full-calendar .fc-toolbar-title {
        font-size: clamp(1.45rem, 7vw, 1.9rem);
        text-align: center;
    }

    .mcc-full-calendar .fc-daygrid-day-frame {
        min-height: 82px;
    }

    .mcc-full-calendar .fc-col-header-cell-cushion {
        padding: 9px 2px;
        font-size: 0.76rem;
    }

    .mcc-full-calendar .fc-daygrid-day-top {
        padding: 2px 2px 0;
    }

    .mcc-full-calendar .fc-daygrid-day-number {
        min-width: 1.75rem;
        min-height: 1.75rem;
        padding: 0.2rem;
        font-size: 0.78rem;
    }

    .mcc-full-calendar .fc-daygrid-event {
        margin: 2px;
        padding: 3px 4px;
    }

    .mcc-full-calendar .fc-daygrid-event .fc-event-title,
.mcc-full-calendar .fc-daygrid-event .fc-event-time {
        display: block;
        font-size: 0.69rem;
        line-height: 1.22;
    }

    .mcc-full-calendar .fc-timeGridWeek-view .fc-scroller {
        scrollbar-width: thin;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    .mcc-full-calendar .fc-timeGridWeek-view .fc-col-header-cell-cushion {
        white-space: nowrap;
    }
}
@media (max-width: 420px) {
    .mcc-full-calendar .fc-header-toolbar .fc-toolbar-chunk:first-child {
        gap: 8px;
    }

    .mcc-full-calendar .fc-header-toolbar .fc-toolbar-chunk:first-child .fc-button-group {
        gap: 8px;
    }

    .mcc-full-calendar .fc-today-button {
        min-width: 84px;
    }

    .mcc-full-calendar .fc-header-toolbar .fc-toolbar-chunk:last-child .fc-button-group {
        width: 100%;
        gap: 6px;
    }

    .mcc-full-calendar .fc-header-toolbar .fc-toolbar-chunk:last-child .fc-button {
        padding-right: 0.55rem;
        padding-left: 0.55rem;
        font-size: 0.88rem;
    }

    .mcc-full-calendar .fc-daygrid-day-frame {
        min-height: 74px;
    }

    .mcc-full-calendar .fc-col-header-cell-cushion {
        font-size: 0.7rem;
    }

    .mcc-full-calendar .fc-daygrid-event .fc-event-time {
        display: none;
    }
}
.mcc-full-calendar .fc-daygrid-event .mcc-calendar-month-content {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.4rem;
    align-items: start;
    width: 100%;
    min-width: 0;
    color: inherit;
    text-align: left;
}
.mcc-full-calendar .fc-daygrid-event .mcc-calendar-month-content--all-day {
    grid-template-columns: minmax(0, 1fr);
}
.mcc-full-calendar .fc-daygrid-event .mcc-calendar-month-time,
.mcc-full-calendar .fc-daygrid-event .mcc-calendar-month-title {
    color: inherit;
    font-size: 0.78rem;
    line-height: 1.25;
    font-weight: 700;
}
.mcc-full-calendar .fc-daygrid-event .mcc-calendar-month-time {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    font-variant-numeric: tabular-nums;
}
.mcc-full-calendar .fc-daygrid-event .mcc-calendar-month-title {
    min-width: 0;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

/* Public category filter */
.mcc-calendar-category-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px 14px;
    margin: 0 0 20px;
    padding: 16px;
    border: 1px solid #dbe4ec;
    border-radius: 10px;
    background: #f8fafc;
}
.mcc-calendar-category-filter__field {
    display: grid;
    flex: 1 1 260px;
    gap: 6px;
    min-width: 0;
}
.mcc-calendar-category-filter__field label {
    margin: 0;
    color: #1f2937;
    font-size: 0.92rem;
    line-height: 1.3;
    font-weight: 800;
}
.mcc-calendar-category-filter__field select {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 8px 36px 8px 11px;
    border: 1px solid #94a3b8;
    border-radius: 8px;
    background-color: #fff;
    color: #111827;
    font: inherit;
}
.mcc-calendar-category-filter__field select:focus-visible {
    outline: 3px solid #0b2f55;
    outline-offset: 2px;
}
.mcc-calendar-category-filter__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.mcc-calendar-category-filter__button,
.mcc-calendar-category-filter__clear {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 8px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}
.mcc-calendar-category-filter__button {
    margin: 0;
    padding: 10px 16px;
    border: 1px solid #0b2f55;
    background: #0b2f55;
    color: #fff;
    cursor: pointer;
}
.mcc-calendar-category-filter__button:hover,
.mcc-calendar-category-filter__button:focus-visible {
    border-color: #154b7c;
    background: #154b7c;
    color: #fff;
}
.mcc-calendar-category-filter__clear {
    padding: 10px 4px;
    color: #0b2f55;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}
.mcc-calendar-category-filter__button:focus-visible,
.mcc-calendar-category-filter__clear:focus-visible {
    outline: 3px solid #0b2f55;
    outline-offset: 2px;
}
@media (max-width: 600px) {
    .mcc-calendar-category-filter {
        align-items: stretch;
    }
    .mcc-calendar-category-filter__actions {
        width: 100%;
    }
    .mcc-calendar-category-filter__button {
        flex: 1 1 auto;
    }
}

/* The submit/clear controls remain as a no-JavaScript fallback. Once the
 * calendar filter is enhanced, changing the select filters in place. */
.mcc-calendar-category-filter.is-enhanced .mcc-calendar-category-filter__actions {
    display: none;
}

/* List view: no today-specific border, ring or background. Keep keyboard focus styling. */
.mcc-full-calendar .fc-list .fc-list-day.fc-day-today,
.mcc-full-calendar .fc-list .fc-list-day.fc-list-day-today,
.mcc-full-calendar .fc-list .fc-list-day.fc-day-today > th,
.mcc-full-calendar .fc-list .fc-list-day.fc-list-day-today > th,
.mcc-full-calendar .fc-list .fc-list-day.fc-day-today .fc-list-day-cushion,
.mcc-full-calendar .fc-list .fc-list-day.fc-list-day-today .fc-list-day-cushion {
    border: 0 !important; outline: 0; box-shadow: none !important;
}
.mcc-full-calendar .fc-list .fc-list-day.fc-day-today,
.mcc-full-calendar .fc-list .fc-list-day.fc-list-day-today,
.mcc-full-calendar .fc-list .fc-list-day.fc-day-today > th,
.mcc-full-calendar .fc-list .fc-list-day.fc-list-day-today > th {
    background: transparent !important;
}
.mcc-full-calendar .fc-list .fc-list-day.fc-day-today .fc-list-day-cushion,
.mcc-full-calendar .fc-list .fc-list-day.fc-list-day-today .fc-list-day-cushion {
    background: #0b2f55 !important; color: #fff;
}
/* Tablet layouts: prevent the calendar navigation, title and view buttons colliding. */
@media (min-width: 761px) and (max-width: 1100px) {
    .mcc-full-calendar .fc-header-toolbar {
        display: grid; grid-template-columns: minmax(0,1fr) auto;
        gap: 12px 16px; align-items: center; }
    .mcc-full-calendar .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) {
        grid-column: 1 / -1; grid-row: 1; justify-content: center;
        min-width: 0; text-align: center; }
    .mcc-full-calendar .fc-header-toolbar .fc-toolbar-chunk:first-child {
        grid-column: 1; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; }
    .mcc-full-calendar .fc-header-toolbar .fc-toolbar-chunk:last-child {
        grid-column: 2; grid-row: 2; justify-content: flex-end; flex-wrap: wrap; }
    .mcc-full-calendar .fc-toolbar-title { font-size: clamp(1.45rem,3.1vw,2rem); }
    .mcc-full-calendar .fc-button-primary { padding: .6rem .72rem; font-size: .87rem; }
    .mcc-full-calendar .fc-list-day-cushion { gap: 5px 10px; }
    .mcc-full-calendar .fc-list-event-title { min-width: 0; overflow-wrap: anywhere; }
}
@media (min-width: 601px) and (max-width: 760px) {
    .mcc-full-calendar .fc-list-event-title { min-width: 0; overflow-wrap: anywhere; }
    .mcc-full-calendar .fc-header-toolbar { padding: 0 2px; }
}
