/* "More stuff" dialog (opened from the footer button; markup is built by js/more-modal.js). Same look as the email dialog, self-contained so it works on the index and the article pages. */
.more-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(15,15,15,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: moreFade 160ms ease-out; }
.more-modal[hidden] { display: none; }
.more-card { position: relative; width: 100%; max-width: 480px; box-sizing: border-box; padding: 32px 24px 32px; background: #f5f5f5; color: #191919; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.35); animation: morePop 200ms cubic-bezier(.2,.7,.2,1); }
.more-body { max-height: calc(100vh - 140px); overflow-y: auto; padding: 0 12px; }
.more-group { margin: 0 0 4px; font-family: "Instrument Sans"; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #7f7f7f; }
.more-list { list-style: none; margin: 0 0 24px; padding: 0; }
.more-list:last-child { margin-bottom: 0; }
.more-list li { margin: 0; padding: 0; }
.more-list a { display: block; padding: 14px 0; text-decoration: none; color: #191919; transition: opacity 200ms; }
.more-list a:hover, .more-list a:focus-visible { opacity: .6; outline: none; }
.more-name { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -0.005em; }
.more-desc { display: block; margin-top: 2px; font-family: "Instrument Sans"; font-size: 15px; line-height: 1.4; color: #4e4e4e; }
.more-close { position: absolute; top: -46px; right: -4px; width: 40px; height: 40px; border: 0; background: none; font-size: 32px; line-height: 1; color: #fff; opacity: .8; cursor: pointer; transition: opacity 200ms; }
.more-close:hover, .more-close:focus-visible { opacity: 1; outline: none; }
html.more-open { overflow: hidden; }
@keyframes moreFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes morePop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .more-modal, .more-card { animation: none; } }
@media (max-width: 480px) { .more-card { padding: 24px 8px 24px; } }

/* compact entries with a small thumbnail on the left (earlier work) */
.more-list a.has-thumb { display: flex; align-items: center; gap: 16px; margin: 0 -12px; padding: 12px; border-radius: 10px; transition: background-color 180ms ease; } /* the negative margin keeps thumbnails lined up with the group labels; the padding gives the hover background room */
.more-thumb { flex: none; width: 104px; height: 68px; overflow: hidden; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.08); background: #fff; }
.more-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* entries with a thumbnail: a light grey background wraps the thumbnail and text on hover, instead of the row dimming */
.more-list a.has-thumb:hover, .more-list a.has-thumb:focus-visible { opacity: 1; background-color: #e8e8e8; }
.more-list a.has-thumb:focus-visible { outline: 2px solid #191919; outline-offset: -2px; }
.more-text { min-width: 0; }
