/* Blog pages (built by tools/build.py). Same black, acid rule and mint links as the homepage, calmer: no background, no ticker. */
@font-face { font-family: 'Libre Caslon Text'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/LibreCaslonText-normal.woff2) format('woff2'); }
@font-face { font-family: 'Libre Caslon Text'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/LibreCaslonText-italic.woff2) format('woff2'); }
body { margin: 0; background: #000; color: #eadfc8; font-family: 'Libre Caslon Text', Times, 'Times New Roman', serif; font-size: 15px; line-height: 1.55; }
a { color: #8ff7e6; }
/* writings index only: the triads background (triads.js), lightly blurred so it never competes with the text */
#bg { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; filter: blur(2px); }
.page { max-width: 620px; margin: 0 auto; padding: 28px 20px 80px; }
nav { display: flex; justify-content: space-between; font-size: 15px; border-bottom: 1px solid #b6ff00; padding-bottom: 6px; }
h1 { color: #b6ff00; font-weight: normal; font-size: 36px; line-height: 1.15; margin: 36px 0 8px; }
.meta { font-size: 15px; color: #a39a88; font-style: italic; margin: 0 0 28px; }
hr { border: 0; border-top: 1px solid #b6ff00; margin: 0 0 28px; }
p { margin: 0 0 1em; text-align: justify; hyphens: auto; }
h2 { color: #8ff7e6; font-weight: normal; font-size: 23px; margin: 1.6em 0 .4em; }
.bib p { text-align: left; padding-left: 1.6em; text-indent: -1.6em; }
.end { text-align: center; color: #b6ff00; margin-top: 2em; }

/* Writings / Projects: stacked row-cards (date | title + one-line summary), then a "see all" link */
.cards { display: grid; gap: 8px; margin: 0 0 8px; }
.card { display: grid; grid-template-columns: 90px 1fr; column-gap: 16px; border: 1px solid #3a3550; background: #000; padding: 10px 16px; text-decoration: none; color: #eadfc8; }
.card .d { grid-row: 1 / 3; align-self: center; font-size: 14px; color: #a39a88; }
.card .t { color: #8ff7e6; font-size: 17px; }
.card .s { font-size: 14px; color: #cfc6b2; }
.card:hover { background: #000; color: #eadfc8; border-color: #b6ff00; }
.card:hover .t { text-decoration: underline; }
.all { margin: 0 0 4px; text-align: right; }
