/* GEM - CHARACTER UPDATES, as a Victorian newspaper: "The London Review" (character_updates_body.html).
   The paper itself is var(--post-bg) with var(--post-text) for the text, as asked; rules and labels use your theme's gold. The updates run in newspaper columns
   (as many as fit; one on a phone) with a thin rule between them, and an update is never split across two columns.
   Nothing here is drawn: only single hairline rules. There are two EMPTY hooks for you to put flourish images on yourself:
     .lr-ornament-top   (under the masthead)     .lr-ornament-end   (at the foot of the paper)
   e.g.  .lr-ornament-top { height: 24px; background: url(your-flourish.png) center / contain no-repeat; }
   Change the lettering here (the fallbacks after each comma are used if your theme does not define the variable). */
.lr-paper {
	--lr-masthead-font: var(--darcy, "Old English Text MT", "Book Antiqua", Georgia, serif);
	--lr-body-font: Georgia, "Times New Roman", serif;
	--lr-label-font: var(--eaves-allsmall, var(--source, Georgia, serif));
	--lr-ink: var(--post-text, #e9d19c);
	--lr-line: var(--gold-border, #b9a26a);
	--lr-gold: var(--gold-text, var(--post-text, #e9d19c));
	box-sizing: border-box;
	max-width: 1180px;
	margin: 1rem auto 2rem;
	padding: clamp(.9rem, 2.6vw, 2.2rem);
	border: 1px solid var(--lr-line);
	background-color: var(--post-bg, #120d0f);
	color: var(--lr-ink);
	font-family: var(--lr-body-font);
	line-height: 1.55;
}
.lr-paper * { box-sizing: border-box; }
.lr-paper a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.lr-paper a:hover { color: var(--lr-gold); }
.lr-paper a:focus-visible, .lr-paper button:focus-visible, .lr-paper summary:focus-visible { outline: 2px solid var(--lr-gold); outline-offset: 2px; }

/* ---- the masthead --------------------------------------------------------------------------------------------------------------------------------- */
.lr-masthead { text-align: center; }
.lr-name { margin: 0; padding: 0; border: 0; font-family: var(--lr-masthead-font); font-size: clamp(2.3rem, 8.5vw, 5rem); font-weight: 400; line-height: 1.05; letter-spacing: .01em; color: var(--lr-ink); text-transform: none; }
.lr-tagline { margin: .35rem 0 .9rem; font-size: clamp(.85rem, 2.1vw, 1.02rem); font-style: italic; }
.lr-dateline { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 1.2rem; padding: .4rem 0; border-top: 1px solid var(--lr-line); border-bottom: 1px solid var(--lr-line); font-family: var(--lr-label-font); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.lr-dateline > span { flex: 1 1 0; min-width: 9rem; }
.lr-dateline > span:first-child { text-align: left; }
.lr-dateline > span:nth-child(2) { text-align: center; }
.lr-dateline > span:last-child { text-align: right; }
.lr-ornament { min-height: 0; }

/* ---- the editions (previous month, back issues, next month) and the submit link ---------------------------------------------------------------- */
.lr-editions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.2rem; margin: .7rem 0 0; font-family: var(--lr-label-font); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.lr-editions .lr-off { opacity: .6; }
.lr-back { position: relative; }
.lr-back summary { cursor: pointer; list-style: none; padding: .2rem 0; }
.lr-back summary::-webkit-details-marker { display: none; }
.lr-back[open] summary { color: var(--lr-gold); }
.lr-back-list { position: absolute; z-index: 20; left: 50%; min-width: 11rem; max-height: 16rem; margin: .3rem 0 0 -5.5rem; padding: .3rem 0; overflow-y: auto; list-style: none; border: 1px solid var(--lr-line); background-color: var(--post-bg, #120d0f); text-align: center; }
.lr-back-list li { margin: 0; padding: 0; }
.lr-back-list a { display: block; padding: .35rem .9rem; text-decoration: none; }
.lr-back-list a:hover, .lr-back-list a[aria-current="page"] { background-color: var(--lr-ink); color: var(--post-bg, #120d0f); }
.lr-submit { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--lr-line); text-decoration: none !important; }
.lr-submit:hover { background-color: var(--lr-ink); color: var(--post-bg, #120d0f) !important; }

/* ---- the sections (the tag filter) --------------------------------------------------------------------------------------------------------------- */
.lr-sections { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; margin: .9rem 0 0; padding: .6rem 0; border-top: 1px solid var(--lr-line); border-bottom: 1px solid var(--lr-line); font-family: var(--lr-label-font); }
.lr-sections-label { margin-right: .4rem; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.lr-chip { margin: 0; padding: .28rem .7rem; border: 1px solid var(--lr-line); border-radius: 0; background-color: transparent; color: var(--lr-ink); font-family: inherit; font-size: .72rem; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; cursor: pointer; }
.lr-chip:hover { border-color: var(--lr-gold); color: var(--lr-gold); }
.lr-chip[aria-pressed="true"] { background-color: var(--lr-ink); color: var(--post-bg, #120d0f); border-color: var(--lr-ink); }
.lr-count { margin: .45rem 0 0; font-family: var(--lr-label-font); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.lr-count:empty { display: none; }
/* without JavaScript the filter cannot work, so it is not offered */
@media (scripting: none) { .lr-sections, .lr-count { display: none; } }

/* ---- the columns --------------------------------------------------------------------------------------------------------------------------------- */
.lr-columns { margin: 1.1rem 0 0; column-width: 18.5rem; column-gap: 2.2rem; column-rule: 1px solid var(--lr-line); }
.lr-entry { margin: 0 0 1.3rem; padding: 0 0 1.1rem; break-inside: avoid; border-bottom: 1px solid var(--lr-line); }
.lr-entry.lr-hidden { display: none; }
.lr-content { font-size: .98rem; text-align: justify; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.lr-content p { margin: 0 0 .7em; }
.lr-content img { display: block; max-width: 100%; height: auto; margin: .5rem auto; }
.lr-content blockquote { margin: .6em 0; padding: 0 0 0 .9em; border-left: 1px solid var(--lr-line); font-style: italic; }
.lr-content blockquote blockquote { margin: .4em 0; }
.lr-content cite { font-style: normal; font-weight: 700; }
.lr-content code, .lr-content pre { max-width: 100%; overflow-x: auto; font-size: .88em; }
.lr-byline { margin: .7rem 0 0; font-family: var(--lr-label-font); font-size: .72rem; letter-spacing: .12em; line-height: 1.7; text-transform: uppercase; }
.lr-byline a { text-decoration: none; }
.lr-byline a:hover { text-decoration: underline; }
.lr-author { font-weight: 700; }
.lr-sep { margin: 0 .35rem; opacity: .75; }
.lr-empty { margin: 2rem 0; text-align: center; font-style: italic; }
.lr-ornament-end { margin-top: .5rem; }

@media (max-width: 560px) {
	.lr-dateline > span, .lr-dateline > span:first-child, .lr-dateline > span:last-child { flex-basis: 100%; text-align: center; }
	.lr-editions { justify-content: center; }
	.lr-back-list { left: 0; margin-left: 0; }
	.lr-columns { column-gap: 1.4rem; }
}
