/* Generated event records have no native per-field block controls.
   Astra/Spectra retain the outer page width, backgrounds and section spacing. */
/* Keep the homepage heading/action together through Astra's smaller tablet range. */
@media(min-width:545px) and (max-width:767px) {
    .home .uagb-block-d6795cd9 { flex-direction:row!important; align-items:center!important; column-gap:20px; }
    .home .uagb-block-62021ddd { width:calc(58% - 10px)!important; }
    .home .uagb-block-472fe78c { width:calc(42% - 10px)!important; }
}
.pmc-events--rows { display: grid; width: 100%; min-width: 0; gap: 20px; container-type: inline-size; container-name: pmc-event-list; }
.pmc-events--rows > :is(.pmc-events-count,.pmc-events-empty) { margin: 0; }
.pmc-event-filters { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.pmc-event-filter-field { flex: 0 1 20rem; min-width: 0; }
.pmc-event-filter-field label { display: block; margin-bottom: 8px; font-size: .875rem; font-weight: 600; }
.pmc-events :is(.pmc-event-filter,.pmc-event-month) { width: 100%; max-width: 100%; min-height: 48px; border: 1px solid #a5afbf; border-radius: 8px; background-color: #fff; color: var(--ast-global-color-3,#343a40); }
.pmc-events :is(select,button):focus-visible { outline: 3px solid var(--ast-global-color-1,#1764a3); outline-offset: 3px; }
.pmc-event-row:not([hidden]) {
    display: grid; grid-template-columns: 5.5rem minmax(0,1fr) auto;
    align-items: center; gap: 20px; min-width: 0; margin: 0; padding: 0;
    border: 1px solid #45516e; border-radius: 8px;
    background: var(--ast-global-color-0,#141a3a); color: var(--ast-global-color-5,#fff);
}
.pmc-event-row__date {
    display: grid; align-self: stretch; align-content: center; padding: 12px 6px;
    border-radius: 7px 0 0 7px; background: var(--ast-global-color-6,#1de280);
    color: var(--ast-global-color-0,#141a3a); text-align: center; text-transform: uppercase;
}
.pmc-event-row__date span { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .06em; line-height: 1.3; }
.pmc-event-row__date strong { font-size: 2.2rem; font-weight: 800; font-style: italic; line-height: 1.15; }
.pmc-event-row__body { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); column-gap: 16px; padding-block: 14px; min-width: 0; overflow-wrap: anywhere; }
.pmc-event-row__body h3 { grid-column: 1; grid-row: 2; margin: 0; color: var(--ast-global-color-5,#fff); font-size: clamp(18px,1.6vw,23px); line-height: 1.25; }
.pmc-event-row__body :is(.pmc-event-row__kind,.pmc-event-row__status) { margin: 0 0 4px; color: #39a275; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.pmc-event-row__kind { grid-column: 1; grid-row: 1; }
.pmc-event-row__status { grid-column: 2; grid-row: 1; }
.pmc-event-row__when { grid-column: 2; grid-row: 2; margin: 0; color: #ebecff; font-size: .8rem; line-height: 1.5; }
.pmc-event-row__action { margin: 0; padding: 12px 16px 12px 0; }
/* Restore the original event action: Astra owns type, padding and corner radius. */
.entry-content .pmc-event-row .pmc-event-row__link,
.entry-content .pmc-event-row .pmc-event-row__link:visited {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    background: var(--ast-global-color-5,#fff); color: #343a40;
    font-style: normal; text-transform: uppercase; text-decoration: none;
}
.entry-content .pmc-event-row .pmc-event-row__link:hover { background: var(--ast-global-color-1,#1c77c3); color: var(--ast-global-color-5,#fff); }
.entry-content .pmc-event-row .pmc-event-row__link:focus-visible { outline: 3px solid var(--ast-global-color-6,#1de280); outline-offset: 4px; }
.pmc-event-pagination:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px; }
/* Original event-strip hover: a subtle enlargement on mouse/trackpad devices. */
.pmc-events--rows .pmc-event-row { transition: transform .18s ease; }
@media(hover:hover) and (pointer:fine) {
    .pmc-events--rows .pmc-event-row:hover { transform: scale(1.015); }
}
@media(prefers-reduced-motion:reduce) {
    .pmc-events--rows .pmc-event-row { transition: none; }
    .pmc-events--rows .pmc-event-row:hover { transform: none; }
}
/* Keep the shared row at iPad Mini widths; compact only genuinely narrow containers. */
@container pmc-event-list (max-width:600px) {
    .pmc-event-row:not([hidden]) { grid-template-columns: 4rem minmax(0,1fr); gap: 0 16px; }
    .pmc-event-row__date { grid-row: 1 / 3; }
    .pmc-event-row__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 8px 0; }
    .pmc-event-row__action { grid-column: 2; padding: 4px 16px 16px 0; }
}
@media(max-width:600px) { .pmc-event-filter-field { flex-basis: 100%; } }

/* Contextual category embeds: full-width title, then status/date/action.
   The category is already identified by the surrounding page. */
:is(#meeting-dates, .pmc-events--category-embed) .pmc-event-row__kind { display:none; }
@container pmc-event-list (min-width: 0px) {
    :is(#meeting-dates, .pmc-events--category-embed) .pmc-event-row:not([hidden]) {
        grid-template-columns:4rem auto minmax(0,1fr) auto;
        gap:8px 16px; padding:12px 16px 12px 0;
    }
    :is(#meeting-dates, .pmc-events--category-embed) .pmc-event-row__date { grid-column:1; grid-row:1 / 3; margin-block:-12px; }
    :is(#meeting-dates, .pmc-events--category-embed) .pmc-event-row__body { display:contents; }
    :is(#meeting-dates, .pmc-events--category-embed) .pmc-event-row__kind { grid-column:4; grid-row:1; margin:0; justify-self:end; }
    :is(#meeting-dates, .pmc-events--category-embed) .pmc-event-row__body h3 { grid-column:2 / 5; grid-row:1; margin:0; }
    :is(#meeting-dates, .pmc-events--category-embed) .pmc-event-row__status { grid-column:2; grid-row:2; margin:0; }
    :is(#meeting-dates, .pmc-events--category-embed) .pmc-event-row__when { grid-column:3; grid-row:2; margin:0; }
    :is(#meeting-dates, .pmc-events--category-embed) .pmc-event-row__action { grid-column:4; grid-row:2; padding:0; align-self:center; }
}
/* Shared phone layout: title, status, then date/time; action aligned right.
   Uses Astra's mobile boundary; specialist Werrington desktop rows stay above it. */
@media (max-width:544px) {
    .pmc-events--rows { gap: 14px; }
    .pmc-events--rows .pmc-event-row:not([hidden]) { grid-template-columns: 3.25rem minmax(0,1fr); gap: 0 12px; }
    .pmc-events--rows .pmc-event-row__date { padding: 10px 4px; }
    .pmc-events--rows .pmc-event-row__date strong { font-size: 1.8rem; }
    .pmc-events--rows .pmc-event-row__body { gap: 3px; padding: 12px 12px 4px 0; }
    .pmc-events--rows .pmc-event-row__kind { order: 0; margin: 0; }
    .pmc-events--rows .pmc-event-row__body h3 { order: 1; }
    .pmc-events--rows .pmc-event-row__status { order: 2; margin: 2px 0 0; }
    .pmc-events--rows .pmc-event-row__when { order: 3; margin: 0; }
    .pmc-events--rows .pmc-event-row__action { justify-self: end; padding: 4px 12px 12px 0; }
    .entry-content .pmc-events--rows .pmc-event-row__link { box-sizing: border-box; min-height: 44px; padding: 10px 14px; }
}
/* Events pagination matches the News navigation component. */

.pmc-events .pmc-event-pagination:not([hidden]) {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    align-items:center;
    gap:16px;
    width:100%;
    margin-top:28px;
}
.pmc-events .pmc-event-pagination:not([hidden]) > * { margin:0; }
.pmc-events .pmc-event-page-numbers {
    grid-column:2; grid-row:1;
    display:flex; align-items:center; justify-content:center; gap:6px;
    padding:6px; background:#fff; border:1px solid #d6dfe8;
    border-radius:8px;
}
.pmc-events .pmc-event-pagination:not([hidden]) .pmc-event-page-number {
    display:inline-flex; align-items:center; justify-content:center;
    min-width:36px; min-height:36px; padding:4px 8px;
    box-sizing:border-box; border-radius:6px;
    color:var(--ast-global-color-2,#343a40); text-decoration:none;
}
.pmc-events .pmc-event-pagination:not([hidden]) .pmc-event-page-number[aria-current="page"] {
    background:var(--ast-global-color-0,#141a3a); color:#fff;
}
.pmc-events .pmc-event-page-previous { grid-column:1; grid-row:1; justify-self:start; }
.pmc-events .pmc-event-page-next { grid-column:3; grid-row:1; justify-self:end; }
.pmc-events .pmc-event-pagination:not([hidden]) :is(.pmc-event-page-previous,.pmc-event-page-next) {
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    min-height:0; padding:8px 16px; border:1px solid #c0c8d4; border-radius:99px;
    color:var(--ast-global-color-2,#343a40); background:transparent;
    font:500 15px/1.5 "Open Sans",sans-serif; text-decoration:none;
}
.pmc-events .pmc-event-pagination:not([hidden]) button:hover {
    color:#fff; background:var(--ast-global-color-1,#1c77c3);
    border-color:var(--ast-global-color-1,#1c77c3); text-decoration:none;
}
.pmc-events .pmc-event-pagination:not([hidden]) button:focus-visible {
    color:#fff; background:var(--ast-global-color-0,#141a3a);
    outline:2px solid var(--ast-global-color-0,#141a3a); outline-offset:3px;
    text-decoration:none;
}
@media (max-width:544px) {
    .pmc-events .pmc-event-pagination:not([hidden]) { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px; }
    .pmc-events .pmc-event-page-numbers { grid-column:1 / -1; justify-self:center; }
    .pmc-events .pmc-event-page-previous { grid-column:1; grid-row:2; }
    .pmc-events .pmc-event-page-next { grid-column:2; grid-row:2; }
}

.pmc-events .pmc-event-page-numbers .pmc-event-page-number {
    border:0; background:transparent; font:inherit; cursor:pointer;
}
.pmc-events .pmc-event-page-numbers .pmc-event-page-number[aria-current="page"] {
    background:var(--ast-global-color-0,#141a3a); color:#fff;
}
.pmc-events .pmc-event-page-numbers .pmc-event-page-number:hover { background:var(--ast-global-color-1,#1c77c3); color:#fff; }
.pmc-events .pmc-event-pagination:not([hidden]) :is(.pmc-event-page-previous,.pmc-event-page-next) {
    text-transform:none;
    font-style:normal;
}

/* Match the individual event status pill across every public event list. */
.pmc-events :is(.pmc-event-row__body .pmc-event-row__kind, .pmc-event-kind),
.pmc-events :is(.pmc-event-row__body .pmc-event-row__status, .pmc-event-status) {
    display:inline-block;
    justify-self:start;
    align-self:center;
    width:fit-content;
    box-sizing:border-box;
    padding:.2rem .7rem;
    border:1px solid var(--ast-global-color-6,#1de280);
    border-radius:99px;
    color:var(--ast-global-color-6,#1de280);
    font-size:.75rem;
    font-weight:600;
    line-height:1.5;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.pmc-events :is(.pmc-event-row__body .pmc-event-row__kind, .pmc-event-kind) {
    border-color:var(--ast-global-color-6,#1de280);
    color:var(--ast-global-color-6,#1de280);
}

/* Give list pills breathing room above their title/date without widening cards. */
.pmc-event-calendar { position:relative; }
.pmc-event-calendar > summary {
    display:flex; align-items:center; gap:8px; width:fit-content;
    padding:8px 16px; border:1px solid #c0c8d4; border-radius:99px;
    background:#fff; color:#343a40; cursor:pointer;
    font:500 15px/1.5 "Open Sans",sans-serif; list-style:none;
}
.pmc-event-calendar > summary::-webkit-details-marker { display:none; }
.pmc-event-calendar > summary svg { flex-shrink:0; }
.pmc-calendar-label-short { display:none; }
.pmc-event-calendar > summary:hover { background:var(--ast-global-color-1,#1c77c3); border-color:var(--ast-global-color-1,#1c77c3); color:#fff; }
.pmc-event-calendar > summary:focus-visible { outline:3px solid #39a275; outline-offset:3px; }
.pmc-event-row:has(.pmc-event-calendar[open]) { position:relative; z-index:5; }
.pmc-event-calendar__options {
    position:absolute; top:calc(100% + 8px); right:0; z-index:6;
    min-width:210px; padding:6px; border:1px solid #c0c8d4; border-radius:8px;
    background:#fff; box-shadow:0 4px 16px #0d112b26;
}
.entry-content .pmc-event-calendar__options a { display:block; padding:9px 12px; color:#343a40; font:500 14px/1.5 "Open Sans",sans-serif; text-decoration:none; border-radius:4px; }
.entry-content .pmc-event-calendar__options a:hover,
.entry-content .pmc-event-calendar__options a:focus-visible { background:var(--ast-global-color-1,#1c77c3); color:#fff; }
@container pmc-event-list (min-width:601px) {
    .pmc-events--rows:not(.pmc-events--category-embed) .pmc-event-row__body {
        row-gap:10px;
        align-content:center;
        padding-block:11px;
    }
    .pmc-events--rows .pmc-event-row__body :is(.pmc-event-row__kind,.pmc-event-row__status) {
        margin-bottom:0;
    }
}
@media (max-width:544px) {
    .pmc-events--rows .pmc-event-row__body :is(.pmc-event-row__kind,.pmc-event-row__status) {
        align-self:flex-start;
        justify-self:start;
        text-align:left;
    }
    .pmc-event-calendar .pmc-calendar-label-full { display:none; }
    .pmc-event-calendar .pmc-calendar-label-short { display:inline; }
    :is(#meeting-dates,.pmc-events--category-embed) .pmc-event-row:not([hidden]) {
        grid-template-columns:3rem minmax(0,1fr) auto;
        gap:4px 8px;
        padding:12px 10px 12px 0;
    }
    :is(#meeting-dates,.pmc-events--category-embed) .pmc-event-row__date {
        grid-column:1; grid-row:1 / 4; margin-block:-12px;
    }
    :is(#meeting-dates,.pmc-events--category-embed) .pmc-event-row__body { display:contents; }
    :is(#meeting-dates,.pmc-events--category-embed) .pmc-event-row__body h3 {
        grid-column:2 / 4; grid-row:1; margin:0 0 4px;
    }
    :is(#meeting-dates,.pmc-events--category-embed) .pmc-event-row__body .pmc-event-row__status {
        grid-column:2; grid-row:2; align-self:center; margin:0; font-size:.7rem; padding-inline:.55rem;
    }
    :is(#meeting-dates,.pmc-events--category-embed) .pmc-event-row__when {
        grid-column:2; grid-row:3; overflow-wrap:normal;
    }
    :is(#meeting-dates,.pmc-events--category-embed) .pmc-event-row__action {
        grid-column:3; grid-row:2 / 4; align-self:end; padding:0;
    }
    .pmc-event-calendar > summary { padding:8px 16px; gap:8px; font-size:15px; }
}

/* Shared event lists: keep the title, time and action compact on phones. */
@media(max-width:544px) {
    body .pmc-events.pmc-events--rows .pmc-event-row__body :is(.pmc-event-row__kind,.pmc-event-row__status) { display:none; }
    body .pmc-events.pmc-events--rows .pmc-event-row:not([hidden]) {
        grid-template-columns:3rem minmax(0,1fr) auto;
        grid-template-rows:auto auto;
        gap:6px 10px;
        padding:10px 10px 10px 0;
    }
    body .pmc-events.pmc-events--rows .pmc-event-row__date { grid-column:1;grid-row:1 / 3;margin-block:-10px; }
    body .pmc-events.pmc-events--rows .pmc-event-row__body { display:contents; }
    body .pmc-events.pmc-events--rows .pmc-event-row__body h3 { grid-column:2 / 4;grid-row:1;margin:0; }
    body .pmc-events.pmc-events--rows .pmc-event-row__when { grid-column:2;grid-row:2;margin:0;overflow-wrap:normal; }
    body .pmc-events.pmc-events--rows .pmc-event-row__action { grid-column:3;grid-row:2;align-self:end;padding:0; }
}
/* Generated calendar controls inherit the same foreground as their label. */
.pmc-event-calendar > summary svg { color:inherit; fill:currentColor; }

/* Balance the event information inside the existing card height. */
@media(min-width:545px) { body:is(.home,.page-id-822) .pmc-events--rows:not(.pmc-events--category-embed) .pmc-event-row__body { align-content:center; padding-block:11px; } }

@media(min-width:545px) {
    body:is(.home,.page-id-822) .pmc-events--rows:not(.pmc-events--category-embed) .pmc-event-row__body .pmc-event-row__when { margin-bottom:0; }
}





.pmc-events .pmc-event-pagination :is(.pmc-event-page-previous,.pmc-event-page-next) svg { width:14px; height:14px; flex:0 0 14px; }
