/* Published work, grouped Question > Subject > dated rows (Nov 21, Hara layout).
   The subject sits in the left margin; kind in its own column; one serif, no color. */
.shelves { max-width: 46rem; margin-top: 7rem; }
.shelf-group { margin-top: 3rem; }
.shelf-group:first-child { margin-top: 0; }
.shelves h2 { margin: 0; font-family: inherit; font-weight: 400 !important; font-style: normal !important; font-size: 1rem !important; color: #2b2b2b; }
.shelves .q { margin: .1rem 0 0; font-style: italic; font-size: .9rem; color: #3a3a3a; max-width: none; }
.shelf { display: grid; grid-template-columns: 6.5rem 1fr; gap: .8rem; margin-top: .9rem; }
.shelf h3 { margin: .22rem 0 0; font-family: inherit; font-weight: 400 !important; font-style: italic; font-size: .8rem !important; color: #5c5c5c !important; }
.shelf ul { list-style: none; margin: 0; padding: 0; }
.shelf li { display: grid; grid-template-columns: 5.5rem 3.8rem 1fr; gap: .8rem; padding: .28rem 0; font-size: .9rem; line-height: 1.45; }
.shelf time { color: #5c5c5c; font-size: .8rem; padding-top: .1rem; font-variant-numeric: tabular-nums; }
.shelf .kind { color: #5c5c5c; font-size: .8rem; padding-top: .1rem; }

@media (max-width: 720px) {
  section#writing > .shelves { margin-top: 4.5rem; }
  .shelf { grid-template-columns: 1fr; gap: .1rem; }
  .shelf li { grid-template-columns: 5.2rem 1fr; gap: 0 .6rem; padding: .35rem 0; }
  .shelf li a { grid-column: 1 / -1; }
}
/* On /blog, older site styles add a green rule under list links and extra space above */
.shelf a { border: 0 !important; display: inline !important; padding: .45rem 0 !important; margin: -.45rem 0 !important; background: none !important; text-decoration: underline !important; text-decoration-color: #d8d6cf !important; }
.shelf a:hover { text-decoration-color: #2b2b2b !important; }
div#writing > .shelves { margin-top: 0; }
