/* GROKBOT my_articles_button (Oct 24, 2026): shared style for lithowar.com/articles/ (index + article pages). LithoWar light theme. */
html, body { margin: 0; padding: 0; color: #000; background: #fff; font-family: 'Lucida Console', monospace; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 5px; }
.hdr { border-radius: 30px 30px 0 0; background: #efda68; padding: 14px 24px 12px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.hdr h1 { margin: 0; font-size: 30px; font-weight: normal; }
.hdr .by { font-size: 18px; margin-top: 4px; }
.hdr .by a:link, .hdr .by a:visited { color: #000; text-decoration: none; } .hdr .by a:hover { text-decoration: underline; }
.btns { display: flex; flex-wrap: wrap; gap: 6px; }
.btn { display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box; height: 28px; padding: 1px 8px; font-family: 'Lucida Console', monospace; font-size: 20px; line-height: 22px; background: #000; color: #FFFAE1; border: 2px solid #FFFAE1; border-radius: 6px; box-shadow: 0 0 0 1px #000, 0 2px 4px rgba(0,0,0,.5); white-space: nowrap; text-decoration: none; }
.btn:link, .btn:visited { color: #FFFAE1; text-decoration: none; }
.btn:hover { background: #2a2a2a; border-color: #efda68; color: #fff; }
.btn:focus-visible { outline: 3px solid #efda68; outline-offset: 1px; }
.btn img { display: block; width: 20px; height: 20px; border: 0; border-radius: 3px; }
.sect { font-size: 22px; text-align: center; background: #A9A9A9; margin: 15px 0 0 0; padding: 3px 0; }
.end { font-size: 15px; text-align: center; background: #A9A9A9; margin: 0 0 15px 0; padding: 2px 0; }
/* feed rows (index.html). Markup is Substack-archive-shaped so itero's Substack parse rules read it; see README. */
.feed .row:nth-child(odd) { background: #eeeeee; } .feed .row:nth-child(even) { background: #DCDCDC; }
.feed .g { display: grid; grid-template-columns: 11.5em 1fr; gap: 2px 14px; padding: 7px 10px; font-size: 20px; line-height: 1.3; }
.feed .meta { grid-row: 1 / span 2; font-size: 16px; color: #333; padding-top: 2px; }
.feed .meta time { display: block; }
.feed .outlet { display: inline-block; margin-top: 3px; font-size: 13px; padding: 1px 6px; border-radius: 4px; background: #fff; border: 1px solid #888; }
.feed .outlet.lw { background: #efda68; border-color: #000; }
/* self-hosted LithoWar rows (class "row hosted"): 5px LithoWar-yellow stripe on the left; alternating row colors kept. Inset shadow, so no layout shift. */
.feed .row.hosted { box-shadow: inset 5px 0 0 #efda68; }
.feed a.t:link, .feed a.t:visited { color: #000; text-decoration: none; overflow-wrap: anywhere; }
.feed a.t:hover, .feed a.t:focus { text-decoration: underline; }
.feed a.d:link, .feed a.d:visited { font-size: 15px; color: #555; text-decoration: none; }
.feed a.d:hover { text-decoration: underline; }
.feed picture { display: none; }
/* thumbnails (Oct 26, 2026): rows with a thumb get class "g th"; thumb left, then date/outlet, then title + blurb. Rows without one are unchanged. */
.feed .g.th { grid-template-columns: 160px 120px 1fr; grid-template-rows: auto 1fr; }
.feed .g.th picture { display: block; grid-column: 1; grid-row: 1 / span 2; align-self: start; padding-top: 2px; }
.feed .g.th .meta { grid-column: 2; grid-row: 1 / span 2; }
.feed .g.th a.t { grid-column: 3; grid-row: 1; } .feed .g.th a.d { grid-column: 3; grid-row: 2; }
.feed picture img { display: block; width: 160px; height: 90px; object-fit: cover; border: 1px solid #888; border-radius: 4px; background: #fff; }
@media (max-width: 600px) { .feed .g { grid-template-columns: 1fr; } .feed .meta { grid-row: auto; } .feed .meta time { display: inline; margin-right: 8px; } }
@media (max-width: 600px) { .feed .g.th { grid-template-columns: 120px 1fr; grid-template-rows: auto; } .feed .g.th picture { grid-row: 1; padding-top: 0; } .feed .g.th .meta { grid-column: 2; grid-row: 1; align-self: center; } .feed .g.th .meta time { display: block; } .feed .g.th a.t { grid-column: 1 / -1; grid-row: 2; } .feed .g.th a.d { grid-column: 1 / -1; grid-row: 3; } .feed picture img { width: 120px; height: 68px; } }
/* article pages */
article.post { max-width: 760px; margin: 0 auto; padding: 18px 16px 10px 16px; font-family: Georgia, 'Times New Roman', serif; font-size: 19px; line-height: 1.6; }
article.post h1 { font-family: 'Lucida Console', monospace; font-size: 30px; line-height: 1.25; font-weight: normal; margin: 6px 0 6px 0; }
article.post .subtitle { font-size: 20px; color: #444; margin: 0 0 10px 0; }
article.post .byline { font-family: 'Lucida Console', monospace; font-size: 15px; color: #333; border-top: 2px solid #efda68; border-bottom: 2px solid #efda68; padding: 6px 0; margin-bottom: 18px; }
article.post .byline a { color: #000; }
article.post img, article.post figure img { max-width: 100%; height: auto; }
article.post figure { margin: 18px 0; } article.post figcaption { font-size: 14px; color: #555; font-family: 'Lucida Console', monospace; }
article.post a { color: #000; text-decoration: underline; text-decoration-color: #c9b23a; }
article.post h2, article.post h3 { font-family: 'Lucida Console', monospace; font-weight: normal; }
article.post blockquote { margin: 16px 0; padding: 4px 16px; border-left: 4px solid #efda68; background: #fafafa; }
.foot { padding: 10px 20px; font-size: 14px; color: #888; text-align: center; }
.foot a:link, .foot a:visited { color: #888; text-decoration: none; } .foot a:hover { text-decoration: underline; }
