.nwpub-page .nwpub-agenda-event[data-nwpub-agenda-event] {
    --nw-event-accent: #f6cf73;
    --nw-event-date-ink: #000000;
    background: #171419;
    border-radius: 18px;
    outline: 1.5px solid var(--nw-event-accent);
    outline-offset: -1.5px;
}

@supports (color: color-mix(in srgb, #000000, #ffffff)) {
    .nwpub-page .nwpub-agenda-event[data-nwpub-agenda-event] {
        outline-color: color-mix(in srgb, var(--nw-event-accent) 80%, white);
    }
}

.nwpub-page .nwpub-agenda-event[data-nwpub-agenda-event] .nwpub-agenda-times > div:first-child time {
    display: inline-block;
    max-width: 100%;
    padding: 3px 8px;
    border-radius: 6px;
    overflow-wrap: anywhere;
    background: var(--nw-event-accent);
    color: var(--nw-event-date-ink);
    font-weight: 750;
}

.nwpub-page .nwpub-agenda-event--with-cover {
    row-gap: 16px;
}

.nwpub-page .nwpub-agenda-cover {
    position: relative;
    grid-column: 1 / -1;
    min-width: 0;
    margin: -6px -6px 0;
    overflow: hidden;
    border-radius: 12px;
    background: #110e11;
}

.nwpub-page .nwpub-agenda-cover .nwpub-agenda-cover-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 272px;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.nwpub-page .nwpub-agenda-cover[data-nw-agenda-cover="event"] .nwpub-agenda-cover-image {
    max-height: clamp(205px, 73vw, 310px);
    aspect-ratio: auto;
    object-fit: contain;
}

.nwpub-page .nwpub-agenda-cover-label {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 4px 7px;
    border-radius: 5px;
    background: #110e11e8;
    color: #fff;
    font-size: .69rem;
    line-height: 1.2;
}

.nwpub-page .nwpub-agenda-event .nwpub-agenda-share {
    display: inline-flex;
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 44px;
    max-width: 100%;
    align-items: center;
    gap: .45rem;
    padding: .38rem .72rem;
    border: 1px solid #673c51;
    border-radius: 9px;
    background: #2c1c26;
    color: #ffe0ee;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.nwpub-page .nwpub-agenda-event .nwpub-agenda-share:hover { background: #3e2634; text-decoration: none; }
.nwpub-page .nwpub-agenda-event .nwpub-agenda-share:focus-visible { outline: 2px solid #ffc8e0; outline-offset: 2px; }
.nwpub-page .nwpub-agenda-event .nwpub-agenda-share::after { content: '↗' / ''; flex: none; }
