        .announcements-modal {
            width: min(560px, calc(100% - 24px));
            max-height: calc(100dvh - 40px);
            margin: auto;
            padding: 0;
            border: 1px solid #c7ab74;
            border-radius: 14px;
            color: #183f52;
            background: #fdfaf3;
            box-shadow: 0 20px 70px #0b2b3940;
            overflow: auto;
        }
        .announcements-modal::backdrop { background: #0b2335a6; }
        body.announcements-open, body.download-open { overflow: hidden; }
        .announcements-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 18px 20px;
            color: #fff8e8;
            background: #183f52;
            border-bottom: 2px solid #c7ab74;
        }
        .announcements-header h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 1.5rem; }
        .announcements-close { width: 36px; height: 36px; padding: 0; border: 1px solid #d8c59c99; border-radius: 7px; color: #fff8e8; background: transparent; font-size: 1.5rem; line-height: 1; }
        .announcements-close:hover { background: #ffffff20; }
        .announcements-close:focus-visible { outline: 2px solid #f3d398; outline-offset: 3px; }
        .announcements-body { padding: 20px; }
        .announcements-intro { margin: 0 0 18px; color: #526975; font-size: .9rem; }
        .announcement {
            --event-color: #174a8b;
            padding: 16px;
            border: 1px solid #e4d9c5;
            border-left: 4px solid var(--event-color);
            border-radius: 8px;
            background: #fff;
            color: var(--event-color);
        }
        .announcement:nth-of-type(even) { --event-color: #9a3e12; }
        .announcement + .announcement { margin-top: 12px; }
        .announcement-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
        .announcement-date { display: block; margin-bottom: 6px; color: var(--event-color); font-size: 1.2rem; font-weight: 700; }
        .announcement h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; }
        .announcement p { margin: 0; font-size: .95rem; line-height: 1.6; }
        .announcement .details { white-space: pre-line; color: #333; }
        .announcement hr { margin: .5rem 0; padding: 0; }
        .announcements-footer { padding: 0 20px 20px; text-align: right; }
		
		
		
.flyer-lightbox {
    margin: auto;
    padding: 0;
    border: 0;
    max-width: none;
    max-height: none;
    background: transparent;
    overflow: visible;
}

.flyer-lightbox::backdrop {
    background: rgba(0, 0, 0, .92);
}

.flyer-image-wrap {
    position: relative;
    width: fit-content;
}

.flyer-image-wrap img {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 40px);
}

.flyer-close-form {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
}

.flyer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 2px solid white;
    border-radius: 50%;
    background: #183f52;
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px #0006;
}

.flyer-close:hover {
    background: #24566a;
}

.flyer-close:focus-visible {
    outline: 3px solid #f3d398;
    outline-offset: 3px;
}
		
.flyer-close-form {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flyer-download {
    font-size: 25px;
    text-decoration: none;
}

.flyer-download:visited {
    color: white;
}		
		

/* Desktop shortcut to the projection view. */
.announcements-header-actions { display: flex; align-items: center; gap: 10px; }
.announcements-expand { display: none; align-items: center; justify-content: center; text-decoration: none; font-size: 19px; }
.announcements-expand:visited { color: #fff8e8; }
@media (min-width: 768px) { .announcements-expand { display: inline-flex; } }
/* A single large column keeps event order easy to follow on a projector. */
@media (min-width: 768px) {
    body.presentation-view .announcements-page { width: min(1400px, calc(100% - 64px)); margin: 24px auto; }
    body.presentation-view .announcements-header { padding: 26px 36px; }
    body.presentation-view .announcements-header p { font-size: 1.3rem; }
    body.presentation-view .announcements-header h2 { font-size: 2.6rem; }
    body.presentation-view .announcements-body { padding: 32px; }
    body.presentation-view .announcement { padding: 28px; border-left-width: 7px; }
    body.presentation-view .announcement + .announcement { margin-top: 24px; }
    body.presentation-view .announcement-date { font-size: clamp(1.6rem, 2.4vw, 2.3rem); }
    body.presentation-view .announcement h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
    body.presentation-view .announcement p,
    body.presentation-view .announcement .details { font-size: clamp(1.4rem, 2.1vw, 2rem); line-height: 1.5; }
    body.presentation-view .announcement .bulletin-btn { font-size: 1.3rem; min-height: 52px; }
    body.presentation-view .announcement .flyer-link { padding: 10px 16px; }
    body.presentation-view .announcement-actions { gap: 18px; margin: 16px 0; }
    body.presentation-view .announcements-footer { padding: 0 32px 28px; }
}
