/* Block mechanics in the Plain look. Colors, faces and sizes come from theme.json presets. */
:root { --mjs-ink: var(--wp--preset--color--ink); --mjs-soft: var(--wp--preset--color--soft); --mjs-rule: var(--wp--preset--color--rule); --mjs-hair: var(--wp--preset--color--hair); --mjs-wash: var(--wp--preset--color--wash); --mjs-paper: var(--wp--preset--color--paper); --mjs-link: var(--wp--preset--color--blue); --mjs-hh: 62px; }
.mjs-meta { color: var(--mjs-soft); margin: 0; }
.mjs-k { color: var(--mjs-soft); font-style: italic; }
.mjs-rows .mjs-k { margin-left: .5em; } /* room after the title (his words, 2026-11-13: "feels crowded") */

/* the newest piece, in full, on the front page */
.mjs-piece > .mjs-meta { text-align: center; font-size: var(--wp--preset--font-size--medium); margin: 0; }
.mjs-piece .mjs-piece__title { font-size: 30px; font-style: normal; font-weight: 400; /* his words, 2026-11-13: "try without bold" */ line-height: 1.25; text-align: center; margin: 16px 0 0 !important; }
.mjs-piece__title a { color: inherit; text-decoration: none; }
/* (.mjs-piece .mjs-piece__title: two classes, so it beats WordPress's ":root :where(.wp-block-post-title)" italic on a post's own page.) */
.mjs-byline { text-align: center; color: var(--mjs-soft); font-size: var(--wp--preset--font-size--medium); margin: 28px 0 0 !important; }
.mjs-piece__body { margin-top: 48px !important; }
.mjs-piece__body > * { margin: 0 0 1.1em; }
.mjs-piece__body img { max-width: 100%; height: auto; }

/* kinds: poems read in italic, teachings set their quotes apart. No indents (his words, 2026-11-13). */
.mjs-kind-poem .mjs-piece__body, .mjs-kind-poem .wp-block-post-content { font-style: italic; }
.mjs-kind-teaching .wp-block-post-content blockquote, .mjs-kind-teaching .mjs-piece__body blockquote { font-style: italic; border-left: 1px solid var(--mjs-ink); padding-left: 22px; margin-left: 0; }

/* front page lists. A post: its title, its opening line, a small light date. Room between items (his words,
   2026-11-18: "a little more breathing room between items"). */
.mjs-year { font-size: var(--wp--preset--font-size--body); font-weight: 700; margin: 0; }
.mjs-yr { font-size: var(--wp--preset--font-size--body); font-style: normal; font-weight: 700; line-height: inherit; margin: 34px 0 2px !important; }
.mjs-year + .mjs-yr { margin-top: 14px !important; }
.mjs-rows { list-style: none; padding: 0; margin: 0 !important; }
.mjs-rows li { padding: 16px 0; margin: 0; }
/* posts read dark, notes lighter (his words, 2026-11-18: "start by flipping it - posts are darker text, note are lighter") */
.mjs-open { display: block; color: var(--mjs-ink); font-size: var(--wp--preset--font-size--medium); line-height: 1.5; margin-top: 2px; }
/* the dates under posts and under notes are set the same */
.mjs-rows .mjs-when, .mjs-fnote .mjs-note__when { display: block; margin-top: 4px; font-size: var(--wp--preset--font-size--micro); line-height: 1.5; color: var(--wp--preset--color--pale); white-space: nowrap; }
.mjs-fnote .mjs-note__when a { color: inherit; text-decoration: none; }
.mjs-fnote .mjs-note__when a:hover { text-decoration: underline; }
.mjs-when { color: var(--mjs-soft); white-space: nowrap; }
.mjs-nbody p { margin: 0 0 .5em; }
.mjs-nbody > :last-child { margin-bottom: 0; }
.mjs-nbody img { max-width: 100%; height: auto; display: block; margin: 8px 0; }

/* front page: one group of the three newest notes between two full rules, right after the first post; then the posts */
.mjs-posts > .mjs-year { margin-bottom: 14px; }
.mjs-posts > .mjs-yr:first-child { margin-top: 0 !important; }
.mjs-cluster { padding: 0; margin-top: 68px !important; margin-bottom: 0; } /* no rules above and below (his words, 11/20: "those lines are not needed"): each note has its box */
.mjs-cluster + * { margin-top: 68px !important; }
.mjs-cluster > .mjs-year { margin: 0 0 22px; color: var(--mjs-ink); }
.mjs-cluster__tag { font-weight: 400; color: var(--mjs-soft); }
/* the heading goes to the Notes page; no underline ("make clickable but no underline", 2026-11-18) */
.mjs-cluster > .mjs-year a, .mjs-cluster > .mjs-year a:hover { color: inherit; text-decoration: none; }
.mjs-fnote strong a { color: inherit; text-decoration: none; } /* a link, with no underline (his words) */
.mjs-fnote strong a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.mjs-cluster__notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.mjs-fnote { font-size: var(--wp--preset--font-size--medium); color: var(--mjs-soft); }
/* each note in the box a note's own page uses (his words, 11/20: "do the notes bounding boxes here like the style of individual notes") */
.mjs-fnote { display: flex; flex-direction: column; box-sizing: border-box; padding: 30px 32px 24px; border: 1px solid var(--mjs-rule); border-radius: 16px; }
.mjs-fnote .mjs-nbody > :last-child { margin-bottom: 0; }
.mjs-fnote .mjs-nbody img { border-radius: 12px; }
.mjs-fnote .mjs-note__when { margin-top: auto; padding-top: 18px; }
@media (max-width: 760px) { .mjs-cluster__notes { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 560px) { .mjs-fnote { padding: 24px 24px 20px; } }

/* archive and search lists (core blocks): the same rows */
.mjs-list .wp-block-post-template { list-style: none; padding: 0; margin: 0; }
.mjs-list__row { display: grid; grid-template-columns: 7.6em minmax(0, 1fr); column-gap: 26px; padding: 7px 0; }
.mjs-list__row > * { margin: 0 !important; }
.mjs-list__row .wp-block-post-date { color: var(--mjs-soft); white-space: nowrap; }
.mjs-list__row .wp-block-post-title { font-size: inherit; font-style: normal; font-weight: 400; line-height: inherit; }
@media (max-width: 560px) { .mjs-list__row { grid-template-columns: 1fr; } .mjs-list__row .wp-block-post-date { font-size: 16px; } }

/* the Notes page: the note, then its date, time and Share; light rules between */
/* each note in a rounded, outlined box, with room inside and between (his pick, 2026-11-18: "notes - 1 for now - but a
   bit mroe breathing room") */
/* more room inside each note and between notes ("let this breathe more", 2026-11-18) */
.mjs-notes.is-plain .mjs-note { padding: 40px 44px 34px; margin: 0 0 44px; border: 1px solid var(--mjs-rule); border-radius: 16px; }
.mjs-notes.is-plain .mjs-note .mjs-note__when { margin-top: 22px; }
/* A note with one photo: the photo is the box; the words lie over its lower edge. The two are stacked in one grid cell,
   so a long note makes the box taller instead of spilling out of it. */
.mjs-notes.is-plain .mjs-note--photo { display: grid; padding: 0; overflow: hidden; border-color: transparent; background: #000; }
.mjs-note--photo > * { grid-area: 1 / 1; min-width: 0; }
.mjs-notes .mjs-note--photo > img { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; margin: 0; border-radius: 0; } /* .mjs-notes: the theme's .wp-block-post-content img {height:auto} had beaten it, so many words over a photo left a black band under it (found 11/24) */
.mjs-note__over { align-self: end; padding: 110px 44px 30px; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.58) 48%, rgba(0,0,0,.84) 100%); }
.mjs-note__over p { margin: 0 0 .6em; } .mjs-note__over p:last-child { margin-bottom: 0; }
.mjs-note__over, .mjs-note__over a, .mjs-note__over strong, .mjs-note__over button, .mjs-notes.is-plain .mjs-note--photo .mjs-note__when { color: #fff; }
.mjs-notes.is-plain .mjs-note--photo .mjs-note__when { margin-top: 14px; opacity: .86; }
.mjs-notes.is-plain .mjs-note--photo .mjs-share, .mjs-notes.is-plain .mjs-note--photo .mjs-share a, .mjs-notes.is-plain .mjs-note--photo .mjs-share button { color: #fff; }
@media (max-width: 560px) { .mjs-note__over { padding: 80px 24px 22px; } .mjs-notes .mjs-note--photo > img { min-height: 300px; } }
.mjs-notes.is-plain .mjs-nbody strong > a { color: inherit; text-decoration: none; }
.mjs-notes.is-plain .mjs-nbody strong > a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.mjs-notes.is-plain .mjs-note:last-child { margin-bottom: 0; }
.mjs-notes.is-plain .mjs-nbody img { box-sizing: border-box; border: 1px solid var(--mjs-rule); border-radius: 12px; } /* a thin line around every picture under a note's words, so a white screenshot stands apart from the page (his words, 11/24: "put a bounding box around the image to set it apart") */
@media (max-width: 560px) { .mjs-notes.is-plain .mjs-note { padding: 28px 24px 24px; margin-bottom: 28px; } .mjs-notes.is-plain .mjs-note--photo { padding: 0; } } /* a photo note keeps its edge-to-edge picture on a phone too (the padding above had framed it in black, found 11/24) */
/* a note's own page: the same box, then older / newer */
.mjs-notes--one .mjs-note { margin-bottom: 36px; }
.mjs-note__when { color: var(--mjs-soft); font-size: var(--wp--preset--font-size--small); margin-top: 10px; }
.mjs-notes.is-plain .mjs-nbody p { margin: 0 0 .7em; }

/* "Share" after a post or note: the links unfold in a row (his pick, 2026-11-18) */
.mjs-share { margin-top: 30px; font-size: var(--wp--preset--font-size--small); color: var(--mjs-soft); }
.mjs-share--inline { margin: 0 0 0 12px; }
.mjs-share button, .mjs-share a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.mjs-share__btn { font-style: italic; }
.mjs-share__items > * { margin-left: 16px; }
.mjs-share--reply > * + * { margin-left: 22px; }   /* Copy link · Reply to this post (11/20) */
/* comments stay folded until Comment is pressed, a comment link is followed, or one was just left */
:where(body:not(.editor-styles-wrapper)) .mjs-comments { display: none; }
.mjs-comments.is-open, .mjs-comments:target, .mjs-comments:has(:target) { display: block; }
main .mjs-comments { margin-top: 26px; font-size: var(--wp--preset--font-size--medium); }
.mjs-comments .wp-block-comment-template { list-style: none; padding: 0; margin: 0 0 30px; }
.mjs-comments .wp-block-comment-template li { padding: 16px 0; border-top: 1px solid var(--mjs-rule); }
.mjs-comments .wp-block-comment-template li:first-child { border-top: 0; padding-top: 0; }
.mjs-comments .wp-block-comment-author-name { font-weight: 700; }
.mjs-comments .wp-block-comment-date { color: var(--mjs-soft); font-size: var(--wp--preset--font-size--small); margin: 0; }
.mjs-comments .wp-block-comment-content { margin-top: 6px; }
.mjs-comments .wp-block-comment-content p { margin: 0 0 .5em; }
.mjs-comments .comment-reply-title { font-size: inherit; font-style: normal; font-weight: 700; line-height: inherit; margin: 0 0 12px; }
.mjs-comments .comment-form > p { margin: 0 0 14px; }
.mjs-comments .comment-form label, .mjs-comments .comment-notes, .mjs-comments .logged-in-as { color: var(--mjs-soft); font-size: var(--wp--preset--font-size--small); }
.mjs-comments .comment-form label { display: block; }
.mjs-comments .comment-form textarea, .mjs-comments .comment-form input[type="text"], .mjs-comments .comment-form input[type="email"] { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 9px 11px; font: inherit; color: var(--mjs-ink); background: var(--mjs-paper); border: 1px solid var(--mjs-soft); border-radius: 0; }
.mjs-comments .comment-form .form-submit input[type="submit"] { font: inherit; padding: 8px 18px; background: none; color: var(--mjs-ink); border: 1px solid var(--mjs-ink); border-radius: 0; cursor: pointer; }
@media (min-width: 561px) { .mjs-comments .comment-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; } .mjs-comments .comment-form > * { grid-column: 1 / -1; } .mjs-comments .comment-form > .comment-form-author { grid-column: 1; } .mjs-comments .comment-form > .comment-form-email { grid-column: 2; } }

/* under a piece: older and newer */
.mjs-pn { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ── Recs: the list in the centered column; the kinds hang in the left margin when there is room ── */
.mjs-recs.is-plain { display: block; }
.mjs-recside { position: sticky; top: var(--mjs-hh); z-index: 4; background: var(--mjs-paper); display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 10px 0; border-bottom: 1px solid var(--mjs-hair); margin-bottom: 28px; line-height: 1.45; }
.mjs-recside a { color: var(--mjs-link); }
.mjs-recside a.is-on { color: var(--mjs-ink); text-decoration: none; }
@media (min-width: 1180px) {
	/* 170px of kinds + 56px gap to the left of the 640px column, which stays exactly where every other page has it */
	.mjs-recs.is-plain { display: grid; grid-template-columns: 170px 640px; column-gap: 56px; align-items: start; width: 866px; max-width: none; margin-left: calc(50% - 546px) !important; margin-right: 0 !important; }
	.mjs-recside { top: calc(var(--mjs-hh) + 18px); flex-direction: column; flex-wrap: nowrap; gap: 6px; padding: 0; border: 0; margin: 0; background: none; }
}
.mjs-n { color: var(--mjs-soft); font-size: .8em; }
.mjs-recmain > h2:first-child { margin-top: 0; }
/* one kind at a time (site.js adds .is-one); without the script the kinds simply follow one another */
.mjs-kindsec > h2 { margin-top: 0; }
.mjs-recs:not(.is-one) .mjs-kindsec + .mjs-kindsec { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--mjs-ink); }
/* books, movies, TV: the covers in a grid; one with his words opens into a full row */
.mjs-kindsec.is-covers .mjs-kindrows { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 26px 18px; align-items: start; }
.mjs-kindsec.is-covers .mjs-trow { display: block; padding: 0; }
.mjs-kindsec.is-covers .mjs-trow .mjs-th img { width: 100%; margin: 0 0 8px; }
.mjs-kindsec.is-covers .mjs-trow > div { font-size: var(--wp--preset--font-size--tiny); line-height: 1.35; }
.mjs-kindsec.is-covers .mjs-star, .mjs-kindsec.is-covers .mjs-restgap { grid-column: 1 / -1; margin: 0 !important; }
.mjs-kindsec.is-covers .mjs-trow:has(details[open]) { grid-column: 1 / -1; display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 18px; }
.mjs-kindsec.is-covers .mjs-trow:has(details[open]) > div { font-size: inherit; line-height: inherit; }
.mjs-recmain h2 { scroll-margin-top: calc(var(--mjs-hh) + 18px); }
.mjs-krule { border: 0; border-top: 1px solid var(--mjs-ink); margin: 48px 0 !important; }
.mjs-star { color: var(--mjs-soft); font-style: italic; margin: 18px 0 6px !important; }
.mjs-restgap { border-top: 1px solid var(--mjs-hair); margin: 22px 0 16px; }
.mjs-rec-row, .mjs-fold { padding: 6px 0; }
.mjs-by { color: var(--mjs-soft); }
.mjs-fold summary { list-style: none; cursor: pointer; }
.mjs-fold summary::-webkit-details-marker { display: none; }
.mjs-fold summary .t { color: var(--mjs-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.mjs-fold summary::after { content: " +"; color: var(--mjs-soft); }
.mjs-fold[open] summary::after { content: " –"; }
.mjs-fold .w { margin: 6px 0 10px; padding-left: 16px; border-left: 1px solid var(--mjs-rule); }
.mjs-rows .mjs-fold { padding: 0; }
/* a rec: a small cover, then the text */
.mjs-trow { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 7px 0; }
.mjs-trow .mjs-th img { width: 44px; height: auto; display: block; margin-top: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.mjs-trow .mjs-rec-row, .mjs-trow .mjs-fold { padding: 0; }
/* search, over any page */
.mjs-search { position: fixed; inset: 0; z-index: 999; background: var(--mjs-paper); overflow: auto; }
.mjs-search__in { max-width: 672px; margin: 0 auto; padding: 40px 16px 96px; }
.mjs-search__back { color: var(--mjs-link); text-decoration: underline; }
.mjs-search__field { display: block; margin-top: 48px; border-bottom: 1px solid var(--mjs-ink); padding-bottom: 6px; }
.mjs-search__field input { width: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: var(--wp--preset--font-size--title); font-style: italic; padding: 0; }
.mjs-search__res .mjs-h { font-size: var(--wp--preset--font-size--body); font-weight: 700; margin: 40px 0 10px; }
.mjs-search mark { background: #fff3a0; color: inherit; }
.mjs-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; padding: 6px 0; color: var(--mjs-link); }
.mjs-row__d { color: var(--mjs-soft); white-space: nowrap; }

/* a rec's own page */
.mjs-rec { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
.mjs-rec__cv img { width: 100%; height: auto; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.mjs-rec__title { font-size: var(--wp--preset--font-size--title); font-style: italic; font-weight: 400; line-height: 1.3; margin: 4px 0 2px; }
.mjs-rec__by { color: var(--mjs-soft); margin: 0; }
.mjs-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 24px 16px; }
.mjs-tile { display: block; color: inherit; text-decoration: none; }
.mjs-tile__cv { display: block; height: 170px; }
.mjs-tile__cv img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.mjs-tile__cap { display: block; font-size: var(--wp--preset--font-size--tiny); line-height: 1.3; margin-top: 8px; color: var(--mjs-link); }
.mjs-tile__cap small { display: block; color: var(--mjs-soft); }
.mjs-h { font-size: var(--wp--preset--font-size--body); font-weight: 700; margin: 68px 0 22px; }
@media (max-width: 560px) { .mjs-rec { grid-template-columns: 100px minmax(0, 1fr); gap: 18px; } }

/* one project, on its own page */
.mjs-project-meta a { color: var(--mjs-link); }
.mjs-lede { margin: 26px 0 22px; }

/* ── Fiction (his picks, 2026-11-13) ── */
.mjs-fiction h1 { margin: 0 0 44px; }
/* The Fiction page with its own Heading block and write-up space (same space as an album's): the cards keep their
   distance from the heading when the space is empty. */
.mjs-fiction--bare { margin-top: 0 !important; }
h1.wp-block-heading:has(~ .mjs-fiction--bare) { margin: 0 0 44px; }
/* the Fiction page: plain paper cards */
.mjs-paper { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.mjs-pcard { aspect-ratio: 3 / 4; border: 1px solid var(--mjs-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14%; color: var(--mjs-ink); text-decoration: none; }
.mjs-pcard .t { font-style: italic; font-size: 28px; line-height: 1.2; }
.mjs-pcard .b { margin-top: 22px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--mjs-soft); }
.mjs-pcard:hover { background: var(--mjs-hair); }
/* a story opens like a book page */
.mjs-fhead1 { text-align: center; margin-bottom: 56px !important; }
.mjs-flabel { margin: 0 0 18px !important; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--mjs-soft); }
.mjs-fhead1 h1 { font-size: clamp(34px, 7vw, 48px); font-style: italic; font-weight: 400; line-height: 1.2; margin: 0; }
.mjs-fhead1 .mjs-fby { margin: 16px 0 0 !important; font-size: 19px; }
.mjs-frule { display: block; width: 60px; margin: 34px auto 0; border-top: 1px solid var(--mjs-ink); }
.mjs-story .mjs-fhead1 + .wp-block-post-content { margin-top: 0 !important; }
.mjs-story .wp-block-post-content { font-size: 20px; line-height: 1.75; }
.mjs-story .wp-block-post-content p { margin: 0 0 1.15em; }
.mjs-story .wp-block-post-content .wp-block-separator { border: 0 !important; max-width: none; margin: 2em auto !important; text-align: center; height: auto; }
.mjs-story .wp-block-post-content .wp-block-separator::after { content: "⁂"; color: var(--mjs-soft); font-size: 18px; }
.mjs-fend { text-align: center; color: var(--mjs-soft); margin: 2.4em 0 0 !important; }
.mjs-fdate { text-align: center; color: var(--mjs-soft); margin: .4em 0 0 !important; }
.mjs-brief { color: var(--mjs-soft); font-size: 17px; line-height: 1.55; font-style: italic; border-left: 1px solid var(--mjs-rule); padding-left: 16px; margin-top: 48px !important; }
.mjs-brief p { margin: 0 0 .25em !important; }
.mjs-brief ul { margin: .25em 0 0 !important; padding-left: 1.1em; }
.mjs-brief li { margin: 0 0 .15em; }
.mjs-fnav { margin-top: 68px !important; padding-top: 28px; border-top: 1px solid var(--mjs-rule); }
/* Reading colors, in the menu on stories only: three dots, light, sepia, dark */
.mjs-modes { display: inline-flex; align-items: center; gap: 10px; padding-left: 18px; border-left: 1px solid var(--mjs-rule); }
.is-menu-open .mjs-modes { border-left: 0; padding-left: 0; }
.mjs-modes button { width: 16px; height: 16px; padding: 0; border-radius: 50%; border: 1px solid #8a8578; cursor: pointer; }
.mjs-modes [data-m="light"] { background: #fff; } .mjs-modes [data-m="sepia"] { background: #efe4c9; } .mjs-modes [data-m="dark"] { background: #151410; }
.mjs-modes [aria-pressed="true"] { box-shadow: 0 0 0 2px var(--wp--preset--color--paper), 0 0 0 3px var(--wp--preset--color--ink); }
.mjs-modes button:focus-visible { outline: 2px solid var(--wp--preset--color--blue); outline-offset: 3px; }
/* the phone menu takes the story's paper and ink (core paints it white, which hid the light text in dark) */
html.mjs-night .wp-block-navigation__responsive-container.is-menu-open, html.mjs-sepia .wp-block-navigation__responsive-container.is-menu-open { background-color: var(--wp--preset--color--paper) !important; color: var(--wp--preset--color--ink) !important; }
html.mjs-sepia { --wp--preset--color--paper: #f4ecd8; --wp--preset--color--ink: #3b2f22; --wp--preset--color--soft: #7a6a55; --wp--preset--color--rule: #d9cbad; --wp--preset--color--hair: #e7dcc2; --wp--preset--color--blue: #2f4a96; }
html.mjs-night { --wp--preset--color--paper: #151410; --wp--preset--color--ink: #ebe5d8; --wp--preset--color--soft: #9b968a; --wp--preset--color--rule: #3a3832; --wp--preset--color--hair: #2c2a25; --wp--preset--color--blue: #9db4ff; }

/* Projects: Current, then Previous; name, kind, a small start year (his pick, 2026-11-16) */
.mjs-plist { list-style: none; padding: 0; margin: 10px 0 0; }
.mjs-plist--solo { margin-top: 0; }
.mjs-plist li { padding: 6px 0; margin: 0; }
.mjs-plist + .mjs-year { margin-top: 40px; }
/* Previous Work: rows under year headings */
.mjs-projgroups--years > .mjs-yr:first-child { margin-top: 0 !important; }
.mjs-projgroups--years > .mjs-yr { margin-bottom: 4px !important; }
/* a starred project: its name in bold ("star these", "make them bold or something", 2026-11-18) */
.mjs-plist li.is-star > a, .mjs-plist li.is-star .t { font-weight: 700; }
/* the Projects page: a core Heading "Current" above the list and a link to Previous Work under it */
.mjs-year + .mjs-projgroups { margin-top: 10px !important; }
.mjs-plist .mjs-k { margin-left: .5em; }
.mjs-since { margin-left: .6em; font-size: var(--wp--preset--font-size--tiny); color: var(--mjs-soft); font-variant-numeric: tabular-nums; }

/* ── The More page: core Cover blocks with the style "Paper card". Paper until hovered; then the card's photo, darkened,
   and the name in white. The whole card is the link. ── */
.wp-block-cover.is-style-mjs-card { aspect-ratio: 3 / 4; min-height: 0; padding: 14%; border: 1px solid var(--mjs-ink); overflow: hidden; }
.wp-block-cover.is-style-mjs-card .wp-block-cover__image-background, .wp-block-cover.is-style-mjs-card .wp-block-cover__background { opacity: 0 !important; transition: opacity .25s; }
.wp-block-cover.is-style-mjs-card:hover .wp-block-cover__image-background, .wp-block-cover.is-style-mjs-card:focus-within .wp-block-cover__image-background { opacity: 1 !important; }
.wp-block-cover.is-style-mjs-card:hover .wp-block-cover__background, .wp-block-cover.is-style-mjs-card:focus-within .wp-block-cover__background { opacity: .5 !important; }
.wp-block-cover.is-style-mjs-card p { margin: 0; font-style: italic; font-size: 28px; line-height: 1.2; text-align: center; color: var(--mjs-ink); transition: color .2s; }
.wp-block-cover.is-style-mjs-card a { color: inherit; text-decoration: none; }
.wp-block-cover.is-style-mjs-card a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
/* A second paragraph in a card is its description. The name sits at the same height on every card, with or without
   one (his words, 2026-11-18: "i do want descriptions still" / "i like the cleanness of the more card titles being on
   the same line"): the text starts at a fixed point and the description runs down from there. */
/* The text layer fills the whole card, so the name's link (stretched by a::after) makes the ENTIRE card clickable
   (his words: "i want the entire card to be clickable"). */
.wp-block-cover.is-style-mjs-card .wp-block-cover__inner-container { position: absolute; inset: 0; width: auto; margin: 0; box-sizing: border-box; padding: calc(66.5% - 17px) 14% 0; }
.wp-block-cover.is-style-mjs-card p + p { margin-top: 12px; font-style: normal; font-size: 15px; line-height: 1.45; color: var(--mjs-soft); }
.wp-block-cover.is-style-mjs-card:hover p + p, .wp-block-cover.is-style-mjs-card:focus-within p + p { color: rgba(255, 255, 255, .85); }
.wp-block-cover.is-style-mjs-card:hover p, .wp-block-cover.is-style-mjs-card:focus-within p { color: #fff; }

/* ── Photography: the grid (a Query Loop, three across) and the date stamp burned into each photo's corner ── */
.mjs-photos .wp-block-post-template { gap: 30px 22px; }
.mjs-shot { position: relative; overflow: hidden; }
.mjs-shot .wp-block-post-featured-image { margin: 0; }
.mjs-shot .wp-block-post-featured-image img { display: block; }
.mjs-shot .wp-block-post-date, .mjs-shot .mjs-stamp { position: absolute; right: 4.5%; bottom: 5%; z-index: 1; margin: 0; pointer-events: none; font-family: var(--wp--preset--font-family--stamp); font-weight: 900; font-size: clamp(12px, 1.5vw, 17px); line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--stamp); text-shadow: 0 0 6px rgba(255, 110, 0, .75), 0 0 1px rgba(120, 40, 0, .9); }
@media (max-width: 700px) { .mjs-photos .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px 12px; } }
/* a photo's own page: the photo, then its date and Share under it */
.mjs-photo-back { margin: 0 0 22px !important; font-size: var(--wp--preset--font-size--small); }
.mjs-photo-back a { color: var(--mjs-soft); }
main.mjs-photo-page .wp-block-post-featured-image { margin-top: 0; }
main.mjs-photo-page .wp-block-post-featured-image img { display: block; width: 100%; height: auto; }
.mjs-photo-details { margin-top: 20px !important; }
.mjs-photo-details .wp-block-post-date { margin: 0; }
.mjs-photo-details .mjs-share { margin-top: 4px; }
.mjs-photo-nav { margin-top: 34px !important; padding-top: 22px; border-top: 1px solid var(--mjs-rule); }

/* albums: covers three across like the photos, each with its name under it; then room before the loose photos */
.mjs-albums { margin: 0 0 56px; }
.mjs-albums > .mjs-year { margin: 0 0 18px; }
.mjs-albumgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; align-items: start; }
.mjs-album { display: block; color: var(--mjs-ink); text-decoration: none; }
.mjs-album .mjs-shot { display: block; }
.mjs-album .mjs-shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
/* an album's cover: the photo darkened, the album's name on it in white, the count under the name; the stamp stays */
.mjs-album .mjs-shot::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.44); transition: background .15s ease; }
.mjs-album:hover .mjs-shot::after, .mjs-album:focus-visible .mjs-shot::after { background: rgba(0,0,0,.3); }
.mjs-album__title { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 10%; }
.mjs-album__name { display: block; margin: 0; color: #fff; font-style: italic; font-size: 26px; line-height: 1.25; }
.mjs-album__count { display: block; margin-top: 6px; font-size: var(--wp--preset--font-size--micro); color: rgba(255,255,255,.82); }
/* a photo's place: one quiet line under the date; nothing at all when the photo has no place */
.mjs-photo-place { margin: 2px 0 0 !important; font-size: var(--wp--preset--font-size--small); color: var(--mjs-soft); }
.mjs-photo-place:empty { display: none; }
.mjs-photo-album { margin: 2px 0 0; font-size: var(--wp--preset--font-size--small); }
.mjs-photo-album a { color: var(--mjs-soft); }
main.mjs-photo-page .wp-block-query-title { margin: 0 0 40px; }
/* an album's page: his write-up (the album's Description) between the name and the photos; nothing when empty */
main.mjs-photo-page .wp-block-query-title:has(+ .mjs-album-about) { margin-bottom: 18px; }
.mjs-album-about { max-width: var(--wp--style--global--content-size); margin: 0 0 40px !important; }
/* WordPress's own sheet zeroes paragraphs inside a term description (.wp-block-term-description p), so the class is doubled to win.
   His words, 2026-11-18: "i'd like the spacing to have more spacing between paragraphs". */
.mjs-album-about.mjs-album-about p { margin: 0 0 1.1em; } /* a post's paragraph space */
.mjs-album-about.mjs-album-about p:last-child { margin-bottom: 0; }
/* The same write-up space at the top of the Photos page (a Group with this class; his words: "add a description area here
   too, in the style of the albums"). Until he writes in it, it takes no room. */
.wp-block-group.mjs-album-about:not(:has(> :not(p:empty))) { display: none; }
h1.wp-block-heading:has(+ .wp-block-group.mjs-album-about > p:not(:empty)) { margin-bottom: 18px; }
@media (max-width: 700px) { .mjs-albumgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } }

/* ── The About page: black, white type, the video large (his words, 2026-11-18: "lets make this page black -
   basically inverted - and make the video a lot bigger"). The colors are set on <html>, where the theme's own
   color names are worked out, so the menu, footer and search follow. The page's content is untouched. */
html:has(body.mjs-page-about) { --wp--preset--color--paper: #000; --wp--preset--color--ink: #fff; --wp--preset--color--soft: #a6a6a6; --wp--preset--color--faint: #9a9a9a; --wp--preset--color--pale: #8c8c8c; --wp--preset--color--rule: #3a3a3a; --wp--preset--color--hair: #2b2b2b; --wp--preset--color--wash: #141414; --wp--preset--color--blue: #9db4ff; background: #000; color-scheme: dark; }
body.mjs-page-about { background: #000; color: #fff; }
body.mjs-page-about main .wp-block-embed.is-type-video, body.mjs-page-about main .wp-block-video { width: min(1400px, calc(100vw - 48px)); max-width: none !important; margin-left: 50% !important; margin-right: 0 !important; transform: translateX(-50%); }
body.mjs-page-about main .wp-block-embed.is-type-video iframe { width: 100%; height: 100%; }
/* no "About" heading on the page (his words: "drop the about heading on this page"); it stays for screen readers */
body.mjs-page-about main > .wp-block-post-title { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* after a post or a note: recent titles, quietly */
.mjs-after { margin-top: 64px !important; }
.mjs-after .mjs-year { margin: 0 0 12px; }
.mjs-after .mjs-notecards + .mjs-year { margin-top: 34px; }   /* on a note's page the cards come first (11/20) */
.mjs-archive > .mjs-yr:first-child { margin-top: 0 !important; }
.mjs-archive .mjs-titles { margin-bottom: 0; }
.mjs-titles { list-style: none; padding: 0; margin: 0 0 30px; }
.mjs-titles:last-child { margin-bottom: 0; }
.mjs-titles li { padding: 5px 0; margin: 0; }
.mjs-titles .mjs-when { margin-left: .7em; font-size: var(--wp--preset--font-size--micro); color: var(--wp--preset--color--pale); white-space: nowrap; }

/* a photo's page: the photo, and beside it the rest of its album */
.mjs-photo-stage > .wp-block-post-featured-image { margin: 0; }
.mjs-photo-stage:has(.mjs-rail) { display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 0 14px; align-items: start; }
.mjs-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 !important; }
.mjs-rail a { display: block; opacity: .62; }
.mjs-rail a:hover, .mjs-rail a:focus-visible { opacity: 1; }
.mjs-rail a.is-on { opacity: 1; outline: 2px solid var(--mjs-ink); outline-offset: 2px; }
.mjs-rail img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 700px) { .mjs-photo-stage:has(.mjs-rail) { grid-template-columns: 1fr; gap: 10px 0; } .mjs-rail { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Now | My Projects | Writings Elsewhere: the tab row is the heading of those three pages */
.mjs-tabs { display: flex; flex-wrap: wrap; gap: 6px 30px; margin-bottom: 30px !important; padding-bottom: 10px; border-bottom: 1px solid var(--mjs-hair); font-size: 26px; line-height: 1.3; font-style: italic; }
.mjs-tabs a { color: var(--wp--preset--color--pale); text-decoration: none; }
.mjs-tabs a:hover { color: var(--mjs-soft); }
.mjs-tabs a[aria-current] { color: var(--mjs-ink); }
.mjs-updated { margin-top: 60px !important; font-size: var(--wp--preset--font-size--micro); color: var(--wp--preset--color--pale); }
@media (max-width: 560px) { .mjs-tabs { font-size: 22px; } }

/* My Projects: the second list */
.mjs-year--too { margin-top: 40px !important; }
/* Writings Elsewhere: a place, its five newest, a More link */
.mjs-elsewhere .mjs-year { margin: 0 0 10px; }
.mjs-elsewhere .mjs-titles { margin-bottom: 8px; }
.mjs-elsewhere__more { margin: 0 0 40px !important; font-size: var(--wp--preset--font-size--small); }
.mjs-elsewhere__more a { color: var(--mjs-soft); font-style: italic; }
.mjs-elsewhere__more:last-child { margin-bottom: 0 !important; }

/* What the camera recorded, under a photo (mjs/photo-exif, photos.php). Small and pale, like the date line. */
.mjs-photo-exif { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 0; font-size: var(--wp--preset--font-size--micro); line-height: 1.5; color: var(--wp--preset--color--pale); }
.mjs-photo-exif__when { color: inherit; }
.mjs-photo-details:has(.mjs-photo-exif__when) > .wp-block-post-date { display: none; }
.mjs-photo-exif:has(.mjs-photo-exif__when) { margin-top: 0; font-size: inherit; line-height: inherit; color: inherit; } /* the time stands where the month-and-year stood, the same size */

/* After a post: a single short line of the post's own words under each title (mjs_short_line, plain.php) */
.mjs-after .mjs-titles .mjs-ex { display: block; margin-top: 1px; font-size: var(--wp--preset--font-size--micro); line-height: 1.5; color: var(--wp--preset--color--soft, #6b6b6b); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* After a post: the notes as small cards, lighter than the posts above them (mjs_render_after, plain.php) */
.mjs-notecards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mjs-notecards li { margin: 0; padding: 0; }
.mjs-notecards a { display: flex; flex-direction: column; gap: 10px; height: 100%; box-sizing: border-box; padding: 14px 16px 12px; border: 1px solid #e4e4e4; color: var(--wp--preset--color--soft); text-decoration: none; font-size: 15px; line-height: 1.45; }
.mjs-notecards a:hover, .mjs-notecards a:focus-visible { border-color: #bdbdbd; }
.mjs-notecards strong { font-weight: 600; color: #3a3a3a; }
.mjs-notecards a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.mjs-notecard__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.mjs-notecard__when { margin-top: auto; font-size: var(--wp--preset--font-size--micro); line-height: 1.4; color: var(--wp--preset--color--pale); }
@media (max-width: 700px) { .mjs-notecards { grid-template-columns: 1fr; } .mjs-notecard__text { -webkit-line-clamp: 3; } }

/* The places in an album, under its title (mjs/album-places, photos.php): small, gray, tight to the title */
main.mjs-photo-page .wp-block-query-title:has(+ .mjs-album-places) { margin-bottom: 6px; }
.mjs-album-places { margin: 0 0 22px !important; font-size: var(--wp--preset--font-size--micro); line-height: 1.5; color: var(--wp--preset--color--soft); }

/* Photo page: "← Photos / Album" (photos.php) */
.mjs-photo-back .mjs-crumb-sep { margin: 0 .35em; color: var(--wp--preset--color--pale); }

/* Photo full screen (assets/js/photo-keys.js) */
.mjs-lightbox { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: #000; cursor: zoom-out; }
.mjs-lightbox img { max-width: 100vw; max-height: 100vh; width: auto; height: auto; object-fit: contain; }

/* The album's name and write-up under a photo (mjs/photo-album-about, photos.php) */
.mjs-photo-albumabout { margin: 22px 0 0; max-width: 640px; }
.mjs-photo-albumabout__name { margin: 0 0 6px; }
.mjs-photo-albumabout__text p { margin: 0 0 .8em; font-size: var(--wp--preset--font-size--small); line-height: 1.6; color: var(--wp--preset--color--soft); }
.mjs-photo-albumabout__text p:last-child { margin-bottom: 0; }
.mjs-photo-albumabout__name a { color: var(--mjs-soft); } /* gray, as the album link under a photo was */

/* Zines: every page in a grid; click = full screen, facing pages (inc/zine.php, assets/js/zine.js) */
.mjs-zinegrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; margin: 10px 0 34px; }
.mjs-zinegrid__page { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: zoom-in; font: inherit; }
.mjs-zinegrid__page img { display: block; width: 100%; height: auto; box-shadow: 0 1px 8px rgba(0,0,0,.16); background: #fff; }
.mjs-zinegrid__page span { font-size: var(--wp--preset--font-size--micro); color: var(--wp--preset--color--pale); }
.mjs-zinegrid__page:hover img, .mjs-zinegrid__page:focus-visible img { box-shadow: 0 2px 14px rgba(0,0,0,.28); }
.mjs-zine-lb { position: fixed; inset: 0; z-index: 100000; background: #161616; }
.mjs-zine-lb__pane { position: absolute; inset: 0 70px 44px; display: flex; align-items: center; justify-content: center; overflow: auto; }
.mjs-zine-lb__spread { display: flex; box-shadow: 0 6px 30px rgba(0,0,0,.5); cursor: zoom-in; }
.mjs-zine-lb__spread img { display: block; height: calc(100vh - 110px); width: auto; max-width: calc((100vw - 160px) / 2); object-fit: contain; background: #fff; }
.mjs-zine-lb__spread.is-single img { max-width: calc(100vw - 160px); }
.mjs-zine-lb__spread img + img { border-left: 1px solid #ddd; }
.mjs-zine-lb.is-zoomed .mjs-zine-lb__pane { display: block; inset: 0; }
.mjs-zine-lb.is-zoomed .mjs-zine-lb__spread { width: max-content; cursor: zoom-out; }
.mjs-zine-lb.is-zoomed .mjs-zine-lb__spread img { height: 220vh; max-width: none; }
.mjs-zine-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border: 0; background: none; color: #fff; font: 30px/1 sans-serif; cursor: pointer; }
.mjs-zine-lb__nav.is-prev { left: 8px; } .mjs-zine-lb__nav.is-next { right: 8px; } .mjs-zine-lb__nav:disabled { opacity: .2; cursor: default; }
.mjs-zine-lb.is-zoomed .mjs-zine-lb__nav, .mjs-zine-lb.is-zoomed .mjs-zine-lb__count { display: none; }
.mjs-zine-lb__x { position: absolute; top: 8px; right: 14px; z-index: 2; border: 0; background: none; color: #fff; font: 34px/1 sans-serif; cursor: pointer; }
.mjs-zine-lb__count { position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; text-align: center; color: #aaa; font: 13px/1.4 -apple-system, sans-serif; }
@media (max-width: 700px) { .mjs-zinegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mjs-zine-lb__pane { inset: 0 0 44px; } .mjs-zine-lb__spread img, .mjs-zine-lb__spread.is-single img { height: auto; max-height: calc(100vh - 80px); max-width: 100vw; } .mjs-zine-lb__nav { top: auto; bottom: 0; transform: none; } }

/* Collections: the timeline, days down a line (inc/collections.php; his pick "1") */
.mjs-coll-page .wp-block-query-title { margin-bottom: 6px; }
/* His words first, under the title; then kind, dates, places; then the days (11/21: "move description to just beneath title") */
.mjs-coll__meta { margin: 0 0 40px; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--soft); }
.mjs-coll__about { margin: 0 0 26px; } .mjs-coll__about p { margin: 0 0 1.1em; }
.mjs-tl { border-left: 1px solid #dddddd; padding-left: 26px; margin-left: 4px; }
.mjs-tl__day { position: relative; margin: 0 0 40px; }
.mjs-tl__day h2 { margin: 0 0 16px; font-size: var(--wp--preset--font-size--body); font-weight: 700; }
.mjs-tl__day h2::before { content: ""; position: absolute; left: -31px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--wp--preset--color--ink); }
.mjs-tl__day h2 span { font-weight: 400; color: var(--wp--preset--color--soft); margin-left: .4em; }
.mjs-tl__item { display: grid; grid-template-columns: 70px minmax(0, 240px) 1fr; gap: 16px; align-items: start; margin: 0 0 18px; }
.mjs-tl__time { font-style: normal; font-size: var(--wp--preset--font-size--micro); color: var(--wp--preset--color--pale); padding-top: 4px; }
.mjs-tl__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eee; }
.mjs-tl__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mjs-tl__len { position: absolute; right: 6px; bottom: 6px; padding: 1px 6px; background: rgba(0,0,0,.72); color: #fff; font: 12px/1.5 -apple-system, sans-serif; }
.mjs-tl__txt > a { display: block; } .mjs-tl__txt em { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--soft); }
.mjs-tl__words { margin-top: 6px; font-size: var(--wp--preset--font-size--small); line-height: 1.6; } .mjs-tl__words p { margin: 0 0 .7em; }
.mjs-tl__item.is-note { grid-template-columns: 70px 1fr; } .mjs-tl__item.is-note .mjs-tl__words { margin: 0; font-size: inherit; }
.mjs-tl__draft { display: inline-block; margin-left: .5em; padding: 0 6px; font-size: 12px; font-style: normal; background: #fdf6dc; border: 1px solid #c9a227; color: #6b5300; }
.mjs-collcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.mjs-collcard { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; }
.mjs-collcard__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eee; } .mjs-collcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mjs-collcard b { font-style: italic; font-weight: 400; font-size: 26px; } .mjs-collcard i { font-style: normal; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--soft); }
.mjs-video-details { margin: 0 0 24px; color: var(--wp--preset--color--soft); }
/* words under a day's heading; photo strips; the full-screen box for photos and videos (assets/js/timeline.js) */
.mjs-tl__daywords { margin: -6px 0 18px; } .mjs-tl__daywords p { margin: 0 0 .7em; }
.mjs-tl__item.is-bundle { grid-template-columns: 70px 1fr; }
.mjs-strip { display: grid; grid-template-columns: repeat(auto-fill, 64px); grid-auto-rows: 64px; grid-auto-flow: dense; gap: 4px; }
.mjs-strip a { display: block; background: #eee; cursor: zoom-in; }
.mjs-strip a.is-star { grid-column: span 4; grid-row: span 4; } /* a starred photo: four squares across (his words, 11/19: "starred and made larger"; 11/20: "I want starred feature photos to be bigger than what we have them right now", "in trips") */
.mjs-strip img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mjs-tl__thumb[data-yt] { cursor: pointer; }
.mjs-tlbox { position: fixed; inset: 0; z-index: 100000; background: #111; display: flex; align-items: center; justify-content: center; }
.mjs-tlbox__img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.mjs-tlbox__video { --mjs-r: 16 / 9; width: min(92vw, calc(84vh * var(--mjs-r))); aspect-ratio: var(--mjs-r); } .mjs-tlbox__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.mjs-tlbox button { position: absolute; background: none; border: 0; color: #fff; font: 32px/1 -apple-system, sans-serif; cursor: pointer; padding: 12px; }
.mjs-tlbox button:disabled { opacity: .25; cursor: default; }
.mjs-tlbox__p { left: 8px; top: 50%; transform: translateY(-50%); } .mjs-tlbox__n { right: 8px; top: 50%; transform: translateY(-50%); } .mjs-tlbox__x { top: 6px; right: 10px; }
.mjs-tlbox__count { position: absolute; bottom: 10px; left: 0; right: 0; margin: 0; text-align: center; color: #aaa; font: 13px -apple-system, sans-serif; }
@media (max-width: 700px) { .mjs-tl__item.is-bundle { grid-template-columns: 1fr; } .mjs-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: auto; } .mjs-strip a { aspect-ratio: 1; } .mjs-strip a.is-star { grid-column: span 3; grid-row: span 3; } }
@media (max-width: 700px) { .mjs-tl__item { grid-template-columns: 1fr; gap: 6px; } .mjs-collcards { grid-template-columns: 1fr; } }

/* Just for me (/just-for-me/, private): a core Query Loop drawn like the Posts list (title, then the date small) */
.mjs-titles.wp-block-post-template li > .wp-block-post-title { display: inline; margin: 0; font-size: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; }
.mjs-titles.wp-block-post-template li > .wp-block-post-date { display: inline; margin-left: .7em; font-size: var(--wp--preset--font-size--micro); color: var(--wp--preset--color--pale); white-space: nowrap; }
.mjs-jfm .mjs-jfm-line { display: block; margin-top: 2px; font-size: var(--wp--preset--font-size--micro); line-height: 1.5; color: var(--wp--preset--color--pale); }
.mjs-jfm .mjs-jfm-from { display: block; margin-top: 3px; font-size: var(--wp--preset--font-size--small); line-height: 1.45; color: var(--wp--preset--color--ink); }

/* scanned pages under a post's text: a grid of small pages, all one width (the last row doesn't stretch); a click opens
   the viewer (inc/scan-grid.php, his words 11/19: "the scan in a smaller grid that lightboxes") */
.wp-block-gallery.mjs-scan-grid.has-nested-images figure.wp-block-image { flex-grow: 0; }
.wp-block-gallery.mjs-scan-grid img { cursor: zoom-in; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.mjs-jfm .mjs-jfm-orig { margin-left: .5em; } .mjs-jfm .mjs-jfm-orig svg { vertical-align: -1px; }
/* a video page whose video is tall (or 4:3): the player takes its shape, no taller than the screen (collections.php) */
.wp-block-embed.mjs-embed-shape { max-width: min(100%, calc(80vh * var(--mjs-r))); margin-left: auto !important; margin-right: auto !important; }
.wp-block-embed.mjs-embed-shape .wp-block-embed__wrapper { aspect-ratio: var(--mjs-r); }
.wp-block-embed.mjs-embed-shape .wp-block-embed__wrapper::before { display: none; }
.wp-block-embed.mjs-embed-shape iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the comments bubble and count on a note in a list (inc/plain.php mjs_note_talk_link) */
.mjs-note__when a.mjs-ncount { display: inline-flex; align-items: center; gap: 4px; margin-left: 14px; color: inherit; text-decoration: none !important; vertical-align: -3px; font-variant-numeric: tabular-nums; }
.mjs-ncount svg { display: block; width: 17px; height: 17px; fill: currentColor; }
.mjs-note__when a.mjs-ncount:hover { color: var(--mjs-ink); }
.mjs-note__over .mjs-note__when a.mjs-ncount:hover { color: #fff; }
/* a note's own page: its comments sit inside the note's card, under a faint line (his words, 11/20: "i don't love the way
   the comment is presented here, doesn't really feel part of it", "a bit disconnected") */
.mjs-note-page .mjs-notes--one:has(+ .mjs-talk) .mjs-note { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.mjs-note-page .mjs-notes--one:has(+ .mjs-talk) .mjs-note:not(.mjs-note--photo) { border-bottom: 0; padding-bottom: 26px; }
.mjs-note-page .mjs-notes--one + .mjs-talk { box-sizing: border-box; margin-top: 0 !important; padding: 0 44px 26px; border: 1px solid var(--mjs-rule); border-top: 0; border-radius: 0 0 16px 16px; }
.mjs-note-page .mjs-notes--one + .mjs-talk .mjs-talk__bar { margin: 0; padding-top: 16px; border-top: 1px solid var(--mjs-hair); }
.mjs-note-page .mjs-notes--one + .mjs-talk .mjs-talk__bar button:first-child { margin-left: -4px; }
.mjs-note-page .mjs-notes--one + .mjs-talk + * { margin-top: 44px !important; }
@media (max-width: 560px) { .mjs-note-page .mjs-notes--one + .mjs-talk { padding: 0 24px 22px; } .mjs-note-page .mjs-notes--one:has(+ .mjs-talk) .mjs-note:not(.mjs-note--photo) { padding-bottom: 22px; } }
/* the comment box on a note: quiet (his words, 11/20: "the comment box is a bit overpowering here"): a thin underline, a
   plain "Post", a small count; the sign-in box the same */
.mjs-note-page .mjs-talk form { margin-top: 36px; }   /* lower, so the comments get the room (his words: "drop the comment box down even more, give the comments even more space") */
.mjs-note-page .mjs-talk .mjs-talk__list { margin-top: 20px; }
.mjs-note-page .mjs-talk .mjs-talk__list li { margin-bottom: 18px; line-height: 1.6; }
.mjs-note-page .mjs-talk .mjs-talk__list li:last-child { margin-bottom: 0; }
.mjs-note-page .mjs-talk input[type=text], .mjs-note-page .mjs-talk input[type=email] { padding: 6px 0; border: 0; border-bottom: 1px solid var(--mjs-rule); background: transparent; font-size: var(--wp--preset--font-size--small); }
.mjs-note-page .mjs-talk input[type=text]:focus, .mjs-note-page .mjs-talk input[type=email]:focus { outline: none; border-bottom-color: var(--mjs-soft); }
.mjs-note-page .mjs-talk form button { padding: 6px 0 6px 6px; border: 0; color: var(--mjs-soft); font-size: var(--wp--preset--font-size--small); }
.mjs-note-page .mjs-talk form button:hover, .mjs-note-page .mjs-talk form button:focus-visible { color: var(--mjs-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.mjs-note-page .mjs-talk .mjs-talk__left { font-size: var(--wp--preset--font-size--micro); color: var(--wp--preset--color--pale); }

/* The mark on pieces first posted on Facebook (helpers.php, mjs_mark): a small ring with an arrow leaving it, and his
   words beside it once he sets them. Pale and small, on the date line. */
.mjs-mark { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; font-size: var(--wp--preset--font-size--micro); color: var(--wp--preset--color--pale); white-space: nowrap; vertical-align: -1px; text-decoration: none; }
.mjs-mark svg { width: 13px; height: 13px; flex: none; }
.mjs-mark .mjs-mark__w { font-style: italic; }
a.mjs-mark:hover { color: inherit; }
.mjs-note__when > a:first-child { color: inherit; text-decoration: none; }
.mjs-note__when > a:first-child:hover { text-decoration: underline; }

/* Home videos: covers by year (inc/home-videos.php; his pick 11/23 "1 · Covers by year") */
.mjs-hvs > .mjs-yr:first-child { margin-top: 0 !important; }
.mjs-hv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; margin: 12px 0 0; }
.mjs-hv__card { display: flex; flex-direction: column; gap: 7px; }
.mjs-hv__title { color: inherit; text-decoration: none; font-size: var(--wp--preset--font-size--small); line-height: 1.35; }
.mjs-hv__title:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
@media (max-width: 700px) { .mjs-hv { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; } }
/* Rows that open: core Details, style "Row with picture" (inc/rows.php; his pick 11/23 "rows that open but with much
   bigger photos"). The square beside the name is the row's first picture; opened, everything inside is full width. */
.wp-block-details.is-style-mjs-row { margin: 0 !important; border-top: 1px solid #e6e6e6; scroll-margin-top: 110px; } /* a row opened by its link stays clear of the sticky header */
.wp-block-details.is-style-mjs-row:last-child { border-bottom: 1px solid #e6e6e6; }
.wp-block-details.is-style-mjs-row > summary { list-style: none; cursor: pointer; display: block; padding: 16px 0; }
.mjs-row__in { display: grid; grid-template-columns: 180px 1fr 20px; gap: 24px; align-items: center; }
.wp-block-details.is-style-mjs-row > summary::-webkit-details-marker { display: none; }
.mjs-row__pic { display: block; width: 180px; height: 180px; overflow: hidden; background: #eee; } .wp-block-details .mjs-row__pic img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; } /* beats the theme's .wp-block-post-content img { height: auto } */
.mjs-row__name { font-size: 22px; line-height: 1.3; } .mjs-row__name em { display: block; margin-top: 4px; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--soft); }
.wp-block-details.is-style-mjs-row > summary:hover .mjs-row__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.wp-block-details.is-style-mjs-row > summary:hover .mjs-row__name em { text-decoration: none; }
.mjs-row__pm { position: relative; width: 14px; height: 14px; justify-self: end; } .mjs-row__pm::before, .mjs-row__pm::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; }
.mjs-row__pm::after { transform: rotate(90deg); transition: transform .15s; } .wp-block-details.is-style-mjs-row[open] .mjs-row__pm::after { transform: rotate(0); }
.wp-block-details.is-style-mjs-row[open] .mjs-row__in { grid-template-columns: 1fr 20px; } .wp-block-details.is-style-mjs-row[open] .mjs-row__pic { display: none; }
.wp-block-details.is-style-mjs-row > :not(summary) { margin-top: 0; margin-bottom: 1.1em; }
.wp-block-details.is-style-mjs-row[open] { padding-bottom: 1.6em; }
.wp-block-details.is-style-mjs-row .wp-block-image img { width: 100%; height: auto; }
@media (max-width: 700px) { .wp-block-details.is-style-mjs-row > summary { padding: 12px 0; } .mjs-row__in { grid-template-columns: 110px 1fr 16px; gap: 16px; } .wp-block-details.is-style-mjs-row[open] .mjs-row__in { grid-template-columns: 1fr 16px; } .mjs-row__pic { width: 110px; height: 110px; } .mjs-row__name { font-size: 19px; } }
/* the box to write a note, first on the Notes page, only when he is signed in (inc/quick-notes.php mjs_note_compose;
   his asks 11/24: "a notes post box on screen at the top here just like in classocial social sites", then "make the
   post box a little more obviously not looking exactly like the posted notes box"): a soft gray field, no outline */
/* the box he writes in: white, lifted off the page by a soft shadow, where a posted note is flat with a line (11/24: "not a massive fan of the gray bg") */
.mjs-notes.is-plain .mjs-compose { margin: 0 0 44px; padding: 22px 28px 16px; border: 0; border-radius: 16px; background: var(--mjs-paper, #fff); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 22px rgba(0,0,0,.08); transition: box-shadow .15s; }
.mjs-compose:focus-within { box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 30px rgba(0,0,0,.13); }
.mjs-compose__title, .mjs-compose textarea { display: block; width: 100%; margin: 0; padding: 0; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; line-height: 1.6; }
.mjs-compose__title { font-weight: 700; margin-bottom: 6px; }
.mjs-compose textarea { min-height: 3.2em; resize: none; overflow: hidden; }
.mjs-compose__title::placeholder, .mjs-compose textarea::placeholder { color: #8a8a86; opacity: 1; font-weight: 400; }
.mjs-compose__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.mjs-compose__count { color: var(--mjs-soft); font-size: var(--wp--preset--font-size--small); } .mjs-compose__count.is-over { color: #b32d2e; }
.mjs-compose button { padding: 7px 18px; border: 1px solid var(--mjs-ink); border-radius: 999px; background: var(--mjs-ink); color: #fff; font: inherit; font-size: var(--wp--preset--font-size--small); line-height: 1.3; cursor: pointer; }
.mjs-compose button:disabled { background: transparent; color: #8a8a86; border-color: #cfcfcb; cursor: default; }
@media (max-width: 560px) { .mjs-notes.is-plain .mjs-compose { padding: 18px 20px 14px; margin-bottom: 28px; } }
/* pictures in the box (11/24: "allow image attachments here"): a small picture button by the count, small squares under the words */
.mjs-compose__tools { display: flex; align-items: center; gap: 14px; min-width: 0; }
.mjs-compose__add { position: relative; display: inline-flex; margin-left: -2px; color: #8a8a86; cursor: pointer; }
.mjs-compose__add:hover { color: var(--mjs-ink); }
.mjs-compose__add:has(input:focus-visible) { color: var(--mjs-ink); outline: 2px solid var(--mjs-ink); outline-offset: 3px; border-radius: 4px; }
.mjs-compose__add input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.mjs-compose__pics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.mjs-compose__pics[hidden] { display: none; }
.mjs-compose__pic { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--mjs-wash); }
.mjs-compose .mjs-compose__pic img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; border-radius: 0; }
.mjs-compose .mjs-compose__pic button { position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.62); color: #fff; font-size: 15px; line-height: 22px; text-align: center; }
.mjs-compose .mjs-compose__pic button:hover { background: rgba(0,0,0,.85); }
.mjs-notes.is-plain .mjs-compose.is-drop { box-shadow: 0 0 0 2px var(--mjs-ink), 0 10px 30px rgba(0,0,0,.13); }
/* a note's small menu, top right, only for him (mjs_note_menu) */
.mjs-notes.is-plain .mjs-note { position: relative; }
.mjs-note__menu { position: absolute; top: 12px; right: 14px; z-index: 3; font-size: var(--wp--preset--font-size--small); line-height: 1.3; }
.mjs-note--photo > .mjs-note__menu { grid-area: auto; }
.mjs-note__menu > summary { list-style: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; color: var(--mjs-soft); opacity: .45; cursor: pointer; }
.mjs-note__menu > summary::-webkit-details-marker { display: none; }
.mjs-note__menu > summary svg { fill: currentColor; display: block; }
.mjs-note:hover .mjs-note__menu > summary, .mjs-note__menu[open] > summary, .mjs-note__menu > summary:focus-visible { opacity: 1; }
.mjs-note__menu > summary:hover, .mjs-note__menu[open] > summary { background: rgba(0,0,0,.06); }
.mjs-note--photo .mjs-note__menu > summary { color: #fff; opacity: .7; } .mjs-note--photo .mjs-note__menu > summary:hover, .mjs-note--photo .mjs-note__menu[open] > summary { background: rgba(0,0,0,.35); }
.mjs-note__menulist { position: absolute; right: 0; top: 34px; min-width: 150px; padding: 6px 0; background: #fff; border: 1px solid #e3e3e0; border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.mjs-note__menulist a { display: block; padding: 6px 14px; color: var(--mjs-ink) !important; text-decoration: none; white-space: nowrap; }
.mjs-note__menulist a:hover { background: #f4f4f2; } .mjs-note__menulist a.is-delete { color: #b32d2e !important; }

/* Where a note's picture goes (11/24, his words: "I want option of backgrounding an app or just popping it in the post or
   headlining the post"): post meta mjs_pic; plain.php mjs_note_box. HEADLINE = the first picture edge to edge across the
   top of the box, the words under it. Very tall pictures stop at 640px (cropped from the middle). */
.mjs-notes.is-plain .mjs-note--top { overflow: hidden; }
.mjs-notes .mjs-note--top > img { display: block; width: calc(100% + 88px); max-width: none; height: auto; max-height: 640px; margin: -40px -44px 30px; object-fit: cover; border-radius: 0; }
@media (max-width: 560px) { .mjs-notes .mjs-note--top > img { width: calc(100% + 48px); margin: -28px -24px 22px; } }
.mjs-note--top .mjs-note__menu > summary { color: #fff; opacity: .8; background: rgba(0,0,0,.35); } .mjs-note--top .mjs-note__menu > summary:hover, .mjs-note--top .mjs-note__menu[open] > summary { background: rgba(0,0,0,.55); }
/* in the box: three quiet words once a picture is added; the one chosen is ink and underlined */
.mjs-compose__place { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; font-size: var(--wp--preset--font-size--small); }
.mjs-compose__place[hidden] { display: none; }
.mjs-compose .mjs-compose__place button { padding: 2px 0; border: 0; border-radius: 0; background: none; color: #8a8a86; font: inherit; line-height: 1.4; cursor: pointer; }
.mjs-compose .mjs-compose__place button:hover { color: var(--mjs-ink); }
.mjs-compose .mjs-compose__place button[aria-checked="true"] { color: var(--mjs-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.mjs-compose .mjs-compose__place button:disabled { color: #c9c9c5; background: none; cursor: default; text-decoration: none; }
.mjs-compose .mjs-compose__place button:focus-visible { outline: 2px solid var(--mjs-ink); outline-offset: 2px; }
/* in a note's menu: the three, the one it has now ticked, then a line before Edit */
.mjs-note__menupics { padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid #ecece9; }
.mjs-note__menulist:has(.mjs-note__menupics) a { position: relative; padding-left: 30px; }
.mjs-note__menulist .mjs-note__menupics a[aria-current]::before { content: ""; position: absolute; left: 13px; top: 50%; width: 9px; height: 5px; margin-top: -4px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); }
