/* One pair of edges for the wordmark, editorial columns and newsletter. */
:root {
  --buffio-article-width: 65rem;
  --buffio-rail: clamp(15rem, 28vw, 21rem);
  --buffio-column-gap: clamp(2rem, 6vw, 5.25rem);
}
.masthead-inner, .entry-wrap.wrap, .footer-inner {
  width: min(var(--buffio-article-width), calc(100% - var(--gutter) - var(--gutter)));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}
.masthead-inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
}
.masthead .issue {
  justify-self: center;
  text-wrap: balance;
}
.masthead nav { min-width: 0; }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .65rem;
}
.footer-inner > * { min-width: 0; margin: 0; }
.footer-inner .footer-newsletter { margin-block-end: .5rem; }
.footer-inner .footer-links {
  border-top: 1px solid var(--rule);
  margin-top: .55rem;
  padding-top: .8rem;
}
.footer-inner .footer-roundups { border: 0; margin: 0; padding: 0; }
@media (min-width: 55rem) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) var(--buffio-rail);
    column-gap: var(--buffio-column-gap);
    align-items: start;
  }
  .footer-inner .footer-newsletter { grid-column: 1; grid-row: 1 / span 3; }
  .footer-inner > p { grid-column: 2; }
  .footer-inner > .footer-links { grid-column: 1 / -1; }
}
@media (max-width: 54.99rem) {
  .masthead-inner { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .masthead .issue { display: none; }
}
@media (max-width: 35rem) {
  .masthead-inner { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .masthead nav { justify-self: start; flex-wrap: wrap; }
}
