.news-modal {
  width:min(820px, calc(100% - 32px));
  max-height:90vh;
  max-height:90dvh;
  padding:0;
  border:0;
  border-radius:18px;
  background:#fff;
  color:#454545;
  box-shadow:0 24px 90px #0008;
  overscroll-behavior:contain;
}
.news-modal::backdrop { background:rgba(0,0,0,.75); }
.news-modal[open] { animation:news-modal-in 280ms cubic-bezier(.22,.61,.36,1) both; }
.news-modal[open]::backdrop { animation:news-backdrop-in 280ms ease both; }
.news-modal.is-closing { animation:news-modal-out 200ms ease-in both; }
.news-modal.is-closing::backdrop { animation:news-backdrop-out 200ms ease-in both; }
@keyframes news-modal-in {
  from { opacity:0; transform:translateY(20px) scale(.97); }
  to { opacity:1; transform:translateY(0) scale(1); }
}
@keyframes news-modal-out {
  from { opacity:1; transform:translateY(0) scale(1); }
  to { opacity:0; transform:translateY(14px) scale(.97); }
}
@keyframes news-backdrop-in { from { opacity:0; } to { opacity:1; } }
@keyframes news-backdrop-out { from { opacity:1; } to { opacity:0; } }
@media(prefers-reduced-motion:reduce) {
  .news-modal[open], .news-modal[open]::backdrop { animation:none; }
}
body.has-news-modal { overflow:hidden; }
.news-modal__toolbar { position:sticky; top:0; z-index:1; display:flex; justify-content:flex-end; padding:10px 18px; background:#fff; }
.news-modal__close { display:flex; align-items:center; gap:10px; padding:8px 12px; border:0; border-radius:8px; background:#ecf0ef; color:#245a64; font:inherit; cursor:pointer; }
.news-modal__close span { font-size:28px; line-height:1; }
.news-modal__close:focus-visible { outline:3px solid #94d348; outline-offset:2px; }
.news-modal__image { display:block; width:100%; max-height:420px; object-fit:contain; background:#111; }
.news-modal__copy { padding:28px 36px 36px; }
.news-modal .news-modal__date { font-size:16px !important; margin:0 0 14px; }
.news-modal h2 { margin:0 0 24px; font-family:Aller,sans-serif; font-size:30px; line-height:1.2; color:#245a64; }
.news-modal .news-modal__body p { font-size:18px !important; line-height:1.65; margin:0 0 24px; }
.news-modal__body p:last-child { margin-bottom:0; }
.news-card .news-card__excerpt > p { margin:0 0 .75em; font:inherit; font-size:inherit !important; color:inherit; }
.news-card__excerpt > p:last-child { margin-bottom:0; }
.news-card__excerpt a, .news-modal__body a { color:#245a64; text-decoration:underline; text-underline-offset:3px; }
@media(max-width:600px) {
  /* Keep rich-text paragraphs in one clamped preview on mobile Safari. */
  .home-page .news-card__excerpt { max-height:5.72em; }
  .internal-page .news-card .news-card__excerpt { max-height:7em; }
  .news-card .news-card__excerpt > p { display:inline; margin:0; }
  .news-card .news-card__excerpt > p + p::before { content:" "; }
  .news-modal { width:calc(100% - 20px); max-height:94dvh; border-radius:12px; }
  .news-modal__copy { padding:24px; }
  .news-modal h2 { font-size:25px; }
  .news-modal .news-modal__body p { font-size:17px !important; }
}
