.article-pager {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(5px, 2vw, 18px);
  max-width: 40rem;
  margin: 2.5rem auto 1rem;
}
.article-pager--top { margin: 0 auto 1.35rem; }
.article-pager a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(2px, .5vw, 5px);
  min-height: 46px;
  padding: 4px;
  border: 1px solid #a97845;
  border-radius: 9px;
  --pager-wash: linear-gradient(#fff7e43b, #ae71340a);
  background-color: #edc58b;
  /* Use the plain maple grain above the arrow as the surface of the whole button. */
  background-image: var(--pager-wash), url('./article-pager-arrow.png');
  background-size: 100% 100%, 160% 1250%;
  background-position: center, center 13%;
  background-repeat: no-repeat;
  box-shadow: 0 2px #966a44;
  color: #233e33;
  font-weight: 700;
  font-size: clamp(.75rem, 2.9vw, 1rem);
  text-decoration: none;
  text-align: center;
  line-height: 1.4;
}
.article-pager a:hover, .article-pager a:focus-visible {
  --pager-wash: linear-gradient(#fff8df78, #fff2c642);
  color: #1a4437;
}
.article-pager a:active { transform: translateY(2px); box-shadow: none; }
.article-pager img {
  display: block;
  flex: none;
  width: clamp(19px, 5.8vw, 28px);
  height: auto;
  /* Keep the illustrated arrow; crop the smaller tile that originally surrounded it. */
  clip-path: polygon(31.7% 26%, 72% 50%, 31.7% 74%);
  scale: 1.3;
}
.article-pager__previous { grid-area: 1 / 1; }
.article-pager__previous img { transform: scaleX(-1); }
.article-pager__index { grid-area: 1 / 2; }
.article-pager__index img { transform: rotate(-90deg); }
.article-pager__next { grid-area: 1 / 3; flex-direction: row-reverse; }
@media print { .article-pager { display: none; } }
