.news-intro {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem clamp(1.5rem, 4vw, 3.75rem);
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
.news-intro .lede { margin: 0; color: var(--muted); }
#news-status { color: var(--muted); }
#news-status:empty { display: none; }

#posts {
  display: grid;
  gap: clamp(1rem, 2vw, 1.75rem);
}
.news-post {
  min-width: 0;
  padding: clamp(1.25rem, 2.6vw, 2.25rem);
  border-radius: 1.25rem;
  background: var(--pale);
  overflow-wrap: anywhere;
}
.news-post time {
  color: var(--rust);
  font: 500 .84rem/1.5 var(--mono);
}
.chapter .news-post h2 {
  margin: .45rem 0 .7rem;
  font: 400 clamp(1.85rem, 2.8vw, 2.6rem)/1.1 var(--serif);
}
.news-post p { max-width: 66ch; margin: 0; white-space: pre-wrap; }
.news-post-link { display: inline-block; max-width: 100%; margin-top: .75rem; text-underline-offset: .2em; }
.news-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 27rem;
  align-items: start;
  gap: clamp(.5rem, 1.5vw, 1rem);
  margin-top: 1.25rem;
}
.news-photos figure { min-width: 0; margin: 0; }
.news-thumbnail {
  position: relative;
  display: block;
  cursor: zoom-in;
}
.news-thumbnail img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: .45rem;
  background: rgb(0 0 0 / 5%);
}
#posts .news-thumbnail::after { content: none; }
.news-post figcaption, #news-photo-viewer figcaption {
  margin-top: .5rem;
  color: var(--muted);
  font: .9rem/1.45 var(--sans);
  overflow-wrap: anywhere;
}
.news-photos figcaption { margin-top: .4rem; }
@media (min-width: 50rem) {
  #posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 45.99rem) {
  .news-intro { display: grid; }
}

#news-photo-viewer {
  max-width: min(94vw, 70rem);
  max-height: 94dvh;
  padding: clamp(.85rem, 2vw, 1.5rem);
  border: 0;
  border-radius: .75rem;
  color: var(--ink);
  background: var(--paper);
  overscroll-behavior: contain;
}
#news-photo-viewer::backdrop { background: #101826db; }
#news-photo-viewer header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}
#viewer-title {
  min-width: 0;
  max-width: 45ch;
  margin: 0;
  font: 400 clamp(1.25rem, 3vw, 1.8rem)/1.18 var(--serif);
  overflow-wrap: anywhere;
}
#news-photo-viewer button { min-height: 44px; }
#viewer-title:focus { outline: none; }
#news-photo-viewer figure { margin: 0; }
#news-photo-viewer img {
  width: auto;
  max-width: 100%;
  max-height: 70dvh;
  margin: 0 auto;
  object-fit: contain;
}
