/* Formatted body text for news, announcements and notices (App\Support\RichText). Full width of its card. */
.rt { font-size: 1.02rem; line-height: 1.75; color: #334155; max-width: none; overflow-wrap: anywhere; }
.rt > :first-child { margin-top: 0; }
.rt > :last-child { margin-bottom: 0; }
.rt p { margin: 0 0 .9rem; }
.rt h2, .rt h3, .rt h4 { color: #001832; font-weight: 800; line-height: 1.25; margin: 1.5rem 0 .55rem; }
.rt h2 { font-size: 1.35rem; }
.rt h3 { font-size: 1.12rem; padding-left: .7rem; border-left: 4px solid #C30080; }
.rt h4 { font-size: 1rem; }
.rt strong, .rt b { color: #0F1E33; }
.rt a { color: #0B6399; text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.rt a:hover { color: #003861; }
.rt ul, .rt ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.rt ul { list-style: disc; }
.rt ol { list-style: decimal; }
.rt li { margin: .3rem 0; padding-left: .2rem; }
.rt li::marker { color: #0B6399; font-weight: 700; }
.rt ul.rt-contact { list-style: none; padding: .8rem 1rem; background: #F3F7FB; border-radius: .75rem; border-left: 4px solid #0B6399; }
.rt ul.rt-contact li { margin: .25rem 0; padding: 0; }
.rt blockquote { margin: 1rem 0; padding: .6rem 1rem; border-left: 4px solid #5EE1FF; background: #F3F7FB; border-radius: 0 .5rem .5rem 0; color: #0F1E33; }
.rt hr { border: 0; border-top: 1px solid #dbe4ee; margin: 1.5rem 0; }
.rt table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.rt th, .rt td { border: 1px solid #dbe4ee; padding: .5rem .7rem; text-align: left; }
.rt th { background: #F3F7FB; }

/* Flyers / posters attached to an item are shown in full, not as a download link. */
.rt-flyers { display: grid; gap: 1rem; margin: 1.25rem 0 0; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.rt-flyers figure { margin: 0; }
.rt-flyers img { display: block; width: 100%; height: auto; border-radius: .9rem; border: 1px solid #dbe4ee; box-shadow: 0 8px 24px -12px rgba(0,24,50,.35); }
.rt-flyers figcaption { margin-top: .35rem; font-size: .8rem; color: #64748b; }
.rt-files { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.rt-files a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; background: #F3F7FB; border: 1px solid #cfe0ee; color: #0B6399; font-weight: 600; font-size: .9rem; text-decoration: none; }
.rt-files a:hover { background: #e6f0f8; }

/* "Important" flag shown on alert items */
.flag-important { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .6rem; border-radius: 999px; background: #C30080; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; vertical-align: middle; }
