.event-banner { position: relative; display: block; margin: 0 0 20px; border-radius: 6px; overflow: hidden; background: #f2f3f5; }
.event-banner img { display: block; width: 100%; height: auto; }
a.event-banner { text-decoration: none; }
.event-banner-hint { display: block; padding: 9px 14px; background: #082f54; color: #fff; font-size: .85rem; font-weight: 600; text-align: right; }
.event-banner:focus-visible, .event-flyer-link:focus-visible { outline: 3px solid #b12424; outline-offset: 4px; }
.event-flyer-link { display: inline-block; margin-bottom: 16px; font-weight: 600; }
body.event-flyer-open { overflow: hidden; }
.event-flyer-dialog { box-sizing: border-box; width: min(1000px, 96vw); max-width: 96vw; height: min(1000px, 94dvh); max-height: 94dvh; padding: 0; border: 0; border-radius: 12px; background: #f4f5f7; color: #132c44; }
.event-flyer-dialog[open] { display: flex; flex-direction: column; }
.event-flyer-dialog::backdrop { background: rgba(4, 14, 26, .84); }
.event-flyer-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 18px; background: white; border-bottom: 1px solid #d7dce3; flex: 0 0 auto; }
.event-flyer-toolbar h2 { flex: 1 1 230px; font-size: 1rem; margin: 0; color: inherit; }
.event-flyer-toolbar a { color: #143f6b; text-decoration: underline; font-size: .9rem; }
.event-flyer-toolbar button { border: 0; border-radius: 6px; padding: 12px 18px; background: #082f54; color: white; font: inherit; cursor: pointer; }
.event-flyer-scroll { overflow: auto; min-height: 0; overscroll-behavior: contain; padding: 16px; }
.event-flyer-scroll img { display: block; width: auto; height: auto; max-width: 100%; margin: 0 auto; }
.event-image-field { min-width: 0; margin: 0; padding: 18px; border: 1px solid #cbd5df; border-radius: 8px; display: grid; gap: 12px; }
.event-image-field legend { font-weight: 700; padding: 0 6px; }
.event-image-field .event-image-help { margin: 0; font-size: .85rem; color: var(--portal-muted, #475569); }
.event-image-preview { display: block; width: auto; max-width: 100%; max-height: 230px; object-fit: contain; border-radius: 4px; }
.event-image-preview[hidden] { display: none; }
.event-admin-card .event-banner { margin-bottom: 6px; max-width: 480px; }
@media (max-width: 520px) { .event-flyer-toolbar { gap: 8px; padding: 10px; } .event-flyer-toolbar h2 { flex-basis: 100%; } .event-flyer-scroll { padding: 8px; } }
