.edition-pager {
  width: min(calc(100% - 40px), 1120px);
  margin: 1rem auto 1.35rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .8rem;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.edition-pager__item {
  min-height: 64px;
  border: 2px solid #174f3c;
  padding: .65rem .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  color: #fffaf0;
  background: #174f3c;
  box-shadow: 4px 4px 0 #9d3929;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.edition-pager__item span {
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.edition-pager__item strong {
  font-size: .94rem;
}

a.edition-pager__item {
  color: #fffaf0;
  background: #174f3c;
}

.edition-pager__item--next {
  text-align: right;
}

a.edition-pager__item:hover {
  color: #17251f;
  background: #d7af54;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a.edition-pager__item:focus-visible {
  outline: 3px solid #9d3929;
  outline-offset: 4px;
}

.edition-pager__item.is-disabled {
  color: #4f5e57;
  background: #f2eee4;
  border-color: #7f8b84;
  box-shadow: 4px 4px 0 #c4bda9;
  cursor: not-allowed;
}

@media (max-width: 520px) {
  .edition-pager {
    width: calc(100% - 34px);
    gap: .6rem;
    margin-top: .85rem;
  }

  .edition-pager__item {
    min-height: 70px;
    padding: .6rem .65rem;
    display: block;
    white-space: normal;
  }

  .edition-pager__item strong {
    display: block;
    margin-top: .4rem;
  }
}
