footer a {
  color: inherit;
  text-underline-offset: 3px;
}

.sitebar { border-bottom-width: 1px; }
.archive-hero { border-bottom-color: var(--line); }

.issue-shell > blockquote {
  padding: 42px 7%;
  font-size: clamp(26px, 3.2vw, 48px);
}

.comments {
  grid-column: 2 / -1;
  margin-top: 2px;
}

.comments-toggle {
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 0 0 3px;
  background: transparent;
  color: inherit;
  font: 11px var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.comments-panel {
  max-width: 760px;
  padding-top: 20px;
}

.comment {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.comment p {
  margin: 0;
  white-space: pre-wrap;
}

.comment time {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font: 10px var(--sans);
}

.comment-form { margin-top: 18px; }
.comment-form label > span {
  display: block;
  margin-bottom: 7px;
  font: 10px var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.comment-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 11px;
  background: #fff8;
  color: var(--ink);
  font: 15px var(--serif);
  outline: 0;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.comment-form textarea:focus {
  border-color: var(--ink);
  background: #fffdf8;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--ink);
}
.comment-form > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.comment-form small,
.comment-status {
  color: var(--muted);
  font: 10px var(--sans);
}
.comment-form button {
  border: 1px solid var(--ink);
  padding: 7px 15px;
  background: var(--ink);
  color: var(--paper);
  font: 10px var(--sans);
  text-transform: uppercase;
  cursor: pointer;
}
.comment-form button:disabled { opacity: .45; }
.comment-status { min-height: 1.4em; }
.comment-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
}

.sitebar-comments {
  justify-self: end;
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 0 1px;
  text-align: right;
  transition: background-size .22s ease;
}
.sitebar-comments:hover,
.sitebar-comments:focus-visible { background-size: 100% 2px; }
.comments-shell {
  max-width: 1540px;
  min-height: calc(100vh - 95px);
  margin: auto;
  padding: 0 3vw 90px;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  background:
    linear-gradient(var(--grid-line), var(--grid-line)) top right / calc(200% / 3) 1px no-repeat;
}
.comment-card {
  box-sizing: border-box;
  height: 100%;
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--grid-line);
  border-bottom: 1px solid var(--grid-line);
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}
.comment-card:nth-child(3n) { border-right: none; }
.comment-card:hover,
.comment-card:focus-visible {
  background: var(--ink);
  color: var(--paper);
  outline: 0;
}
.comment-card-body {
  margin: 0 0 34px;
  font-size: clamp(19px, 1.65vw, 26px);
  line-height: 1.25;
  white-space: pre-wrap;
}
.comment-card-meta {
  margin-top: auto;
  font: 10px var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .66;
}
.comment-card-source {
  margin: 14px 0 0;
  padding-left: 14px;
  border-left: 1px solid currentColor;
  font-size: 14px;
  line-height: 1.35;
  opacity: .88;
}
.comment-card-arrow {
  display: block;
  margin-top: 18px;
  font: 18px var(--sans);
  text-align: right;
}
.feed-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 50px 0;
  background: var(--paper);
  color: var(--muted);
}
.issue-card {
  padding-right: 18px;
  padding-left: 18px;
  transition: background-color .24s ease, color .24s ease, transform .24s ease;
}
.issue-card p { font-size: 13px; }
.cover-meta time { font-size: 18px; }
.issue-card h2 { text-decoration: none; }
.issue-card:hover,
.issue-card:focus-visible {
  background: var(--ink);
  color: var(--paper);
  outline: 0;
  transform: translateX(8px);
}
.issue-card:hover h2,
.issue-card:focus-visible h2 { text-decoration: none; }
.issue-card:hover small,
.issue-card:focus-visible small { color: inherit; }

/* Neutral, paper-white palette shared by the archive and comments pages. */
:root { --paper: #f5f5f2; --line: #aaa9a4; --grid-line: rgba(17, 17, 15, .34); --muted: #615e5b; }
html { background: #dededb; }

@media (max-width: 1100px) and (min-width: 801px) {
  .comments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background-size: 50% 1px;
  }
  .comment-card:nth-child(3n) { border-right: 1px solid var(--grid-line); }
  .comment-card:nth-child(2n) { border-right: none; }
}

@media (max-width: 800px) {
  .comments { grid-column: 1 / -1; }
  .comments-shell { padding-left: 20px; padding-right: 20px; }
  .comments-grid { grid-template-columns: 1fr; background: transparent; }
  .comments-grid .comment-card { min-height: 240px; border-right: none; }
}
