/*
Theme Name: The Local National
Theme URI: https://thelocalnational.com
Author: The Local National
Description: A 1970s magazine register for a volunteer D.C. paper, image first. Warm paper, ink, one red. Fraunces for display, Newsreader for text, Archivo for labels.
Version: 0.4.9
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: localnational
*/

/* ---- Type helpers ------------------------------------------------------ */

.ln-masthead,
.ln-tagline,
.ln-lane-title,
.ln-h-lead,
.ln-h-cover,
.ln-h-item,
.ln-h-opinion,
.ln-h1,
.ln-bridge h2, .ln-bridge h3,
.ln-checked h2, .ln-checked h3,
.wp-block-pullquote,
.wp-block-post-content .wp-block-heading,
h1, h2, h3, h4 {
  font-variation-settings: "SOFT" 70, "WONK" 0;
}

.ln-k {
  font-family: var(--wp--preset--font-family--label);
  font-weight: 800;
  font-stretch: 110%;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wp--preset--color--red);
  margin: 0;
}
.ln-k a { color: inherit; text-decoration: none; }
.ln-meta { color: var(--wp--preset--color--meta); }
.ln-meta a { color: inherit; text-decoration: none; }
.ln-meta a:hover { color: var(--wp--preset--color--red); }

/* Category kicker rendered by the Post Terms block */
.wp-block-post-terms.ln-k { color: var(--wp--preset--color--red); }
.wp-block-post-terms.ln-k a { text-decoration: none; }

/* Mode tags: First here (solid) and Emblematic (outlined) */
.ln-tag,
.ln-tags a {
  display: inline-block;
  font-family: var(--wp--preset--font-family--label);
  font-weight: 800;
  font-stretch: 110%;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  padding: 6px 8px 5px;
  text-decoration: none;
  border: 1.5px solid var(--wp--preset--color--ink);
  color: var(--wp--preset--color--ink);
}
.ln-tag-solid,
.ln-tags a[href*="/tag/first-here/"] {
  background: var(--wp--preset--color--red);
  border-color: var(--wp--preset--color--red);
  color: var(--wp--preset--color--paper);
}
.ln-tag-line,
.ln-tags a[href*="/tag/emblematic/"] {
  background: transparent;
  border-color: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--ink);
}
.ln-tags a:hover { color: var(--wp--preset--color--paper); background: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); }
.wp-block-post-terms.ln-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wp-block-post-terms.ln-tags .wp-block-post-terms__separator { display: none; }

.ln-kickers { gap: 12px; align-items: center; }

/* Bylines */
.ln-by {
  font-family: var(--wp--preset--font-family--label);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--wp--preset--color--meta);
  gap: 6px 14px;
}
.ln-by a { color: inherit; text-decoration: none; }
.ln-by > * { margin: 0; }
.ln-by .wp-block-post-date + .wp-block-post-date::before { content: "·"; margin-right: 10px; }

/* ---- Header ------------------------------------------------------------ */

.ln-header { padding-top: 1.5rem; }
.ln-dateline { gap: 8px 24px; align-items: baseline; }
.ln-dateline p, .ln-dateline .ln-dateline-text { margin: 0; }

.ln-masthead,
.wp-block-site-title.ln-masthead {
  margin: 0.6rem 0 0;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 900;
  font-size: var(--wp--preset--font-size--masthead);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--wp--preset--color--red);
}
.ln-masthead a { color: inherit; text-decoration: none; }

.ln-tagline,
.wp-block-site-tagline.ln-tagline {
  margin: 1rem 0 0;
  font-family: var(--wp--preset--font-family--display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--wp--preset--font-size--large);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--ink);
}

.ln-nav,
.wp-block-navigation.ln-nav {
  margin-top: 1.4rem;
  border-top: 3px solid var(--wp--preset--color--ink);
  border-bottom: 1px solid var(--wp--preset--color--ink);
  padding: 12px 0;
  font-family: var(--wp--preset--font-family--label);
  font-weight: 800;
  font-stretch: 110%;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  gap: 8px 28px;
}
.ln-nav a { text-decoration: none; }
.ln-nav a:hover { color: var(--wp--preset--color--red); }
.ln-nav .wp-block-navigation__responsive-container-open { color: var(--wp--preset--color--ink); }

/* Compact header on article and archive pages */
.ln-header-compact { padding-top: 1rem; }
.ln-header-compact .ln-bar {
  border-bottom: 3px solid var(--wp--preset--color--ink);
  padding-bottom: 12px;
  gap: 10px 24px;
  align-items: center;
}
.ln-header-compact .ln-masthead,
.ln-header-compact .wp-block-site-title.ln-masthead {
  margin: 0;
  font-size: 1.5rem;
}
.ln-header-compact .ln-nav,
.ln-header-compact .wp-block-navigation.ln-nav {
  margin: 0;
  border: 0;
  padding: 0;
  font-size: 0.75rem;
}

/* ---- Image fields (halftone when no photograph) ----------------------- */

.ln-field {
  position: relative;
  background-color: var(--wp--preset--color--field);
  background-image: radial-gradient(circle, var(--wp--preset--color--red) 1.1px, transparent 1.6px);
  background-size: 7px 7px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.ln-field-wide { aspect-ratio: 16 / 9; }
.ln-field-photo { aspect-ratio: 3 / 2; }
.ln-field .wp-block-post-featured-image { margin: 0; height: 100%; }
.ln-field .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ln-field .wp-block-post-featured-image a { display: block; height: 100%; }

/* ---- Front page -------------------------------------------------------- */

.ln-front > * { margin-block-start: 0; }

.ln-lead { margin-top: 2.25rem; }
.ln-lead-item { gap: 32px 40px; align-items: flex-start; }
.ln-lead-photo { flex: 1 1 560px; min-width: 0; }
.ln-lead-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ln-lead-text > * { margin: 0; }

.ln-h-lead,
.wp-block-post-title.ln-h-lead {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: var(--wp--preset--font-size--xx-large);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
}
.ln-deck-lead,
.wp-block-post-excerpt.ln-deck-lead { font-size: 1.3125rem; line-height: 1.4; margin: 0; }
.ln-deck-lead .wp-block-post-excerpt__excerpt { margin: 0; }

.ln-coverlines { margin-top: 2rem; border-top: 1px solid var(--wp--preset--color--ink); padding-top: 18px; }
.ln-coverline { display: flex; flex-direction: column; gap: 6px; }
.ln-h-cover,
.wp-block-post-title.ln-h-cover {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700;
  font-size: 1.625rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

.ln-lane { margin-top: 4rem; }
.ln-lanehead {
  border-top: 3px solid var(--wp--preset--color--ink);
  padding-top: 12px;
  margin-bottom: 26px;
  gap: 8px 24px;
  align-items: baseline;
}
.ln-lane-title,
h2.ln-lane-title {
  margin: 0;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--wp--preset--color--red);
}
.ln-lane-title a { color: inherit; text-decoration: none; }
.ln-lane-desc { margin: 0; font-size: 1.0625rem; color: var(--wp--preset--color--meta); max-width: 640px; }

.ln-issues-cols { gap: 32px 48px; align-items: flex-start; }
.ln-issues-col { flex: 1 1 420px; min-width: 0; }
.ln-mode { margin: 0; }
.ln-mode-desc {
  margin: 10px 0 14px;
  font-family: var(--wp--preset--font-family--label);
  font-size: 0.875rem;
  color: var(--wp--preset--color--meta);
}

/* Numbered cover lines: big red numerals */
.ln-numbered .wp-block-post-template { list-style: none; margin: 0; padding: 0; counter-reset: ln; }
.ln-numbered .wp-block-post-template > .wp-block-post {
  counter-increment: ln;
  border-top: 1px solid var(--wp--preset--color--ink);
  padding: 16px 0 16px 52px;
  position: relative;
  margin: 0;
}
.ln-numbered .wp-block-post-template > .wp-block-post:last-child { border-bottom: 1px solid var(--wp--preset--color--ink); }
.ln-numbered .wp-block-post-template > .wp-block-post::before {
  content: counter(ln);
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--wp--preset--font-family--display);
  font-variation-settings: "SOFT" 70, "WONK" 0;
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 0.9;
  color: var(--wp--preset--color--red);
}
.ln-numbered-ink .wp-block-post-template > .wp-block-post::before { color: var(--wp--preset--color--ink); }
.ln-numbered .wp-block-post > * + * { margin-top: 8px; }

.ln-h-item,
.wp-block-post-title.ln-h-item {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700;
  font-size: 1.5625rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
.ln-h-opinion,
.wp-block-post-title.ln-h-opinion {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.875rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.ln-deck,
.wp-block-post-excerpt.ln-deck { font-size: 1rem; line-height: 1.45; margin: 0; }
.ln-deck .wp-block-post-excerpt__excerpt { margin: 0; }

.ln-card { display: flex; flex-direction: column; gap: 12px; }
.ln-card > * { margin: 0; }
.ln-opinion-card { border-left: 3px solid var(--wp--preset--color--red); padding-left: 20px; }

.ln-photo-caption { margin-top: 18px; gap: 8px 24px; align-items: baseline; }
.ln-photo-caption > * { margin: 0; }

.ln-doc-row { gap: 32px 40px; align-items: flex-start; }
.ln-doc-still { flex: 2 1 560px; min-width: 0; }
.ln-doc-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ln-doc-text > * { margin: 0; }
.ln-h-doc,
.wp-block-post-title.ln-h-doc {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: 2.375rem;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
}

/* ---- Article ----------------------------------------------------------- */

.ln-article-head { padding-top: 2.5rem; display: flex; flex-direction: column; gap: 20px; }
.ln-article-head > * { margin: 0; }
.ln-h1,
.wp-block-post-title.ln-h1 {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: var(--wp--preset--font-size--headline);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
}
.ln-deck-article,
.wp-block-post-excerpt.ln-deck-article { font-size: 1.4375rem; line-height: 1.35; margin: 0; }
.ln-deck-article .wp-block-post-excerpt__excerpt { margin: 0; }
.ln-byline-row {
  border-top: 1px solid var(--wp--preset--color--ink);
  border-bottom: 1px solid var(--wp--preset--color--ink);
  padding: 12px 0;
  gap: 8px 22px;
  align-items: center;
  font-family: var(--wp--preset--font-family--label);
  font-size: 0.8125rem;
  color: var(--wp--preset--color--meta);
}
.ln-byline-row > * { margin: 0; }
.ln-byline-row .wp-block-post-author-name { color: var(--wp--preset--color--ink); font-weight: 700; }
.ln-byline-row a { color: inherit; text-decoration: none; }
.ln-prefix { font-weight: 400; color: var(--wp--preset--color--meta); }
.ln-dateline-text { text-wrap: balance; }
.ln-republished { font-family: var(--wp--preset--font-family--label); font-size: 0.8125rem; color: var(--wp--preset--color--meta); border-left: 3px solid var(--wp--preset--color--red); padding: 2px 0 2px 12px; margin: 0 0 1.5rem; }
.ln-republished a { color: var(--wp--preset--color--ink); font-weight: 700; text-decoration: none; }

.ln-hero { margin-top: 2rem; }
.ln-hero figcaption,
.ln-hero .wp-element-caption {
  margin-top: 10px;
  font-family: var(--wp--preset--font-family--label);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--wp--preset--color--meta);
  text-align: left;
}

.wp-block-post-content { font-size: 1.25rem; line-height: 1.55; margin-top: 2.5rem; }
.wp-block-post-content > * + * { margin-block-start: 1.25em; }
.wp-block-post-content a { color: var(--wp--preset--color--red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.wp-block-post-content a:hover { color: var(--wp--preset--color--ink); }
.wp-block-post-content .has-drop-cap:not(:focus)::first-letter {
  font-family: var(--wp--preset--font-family--display);
  font-variation-settings: "SOFT" 70, "WONK" 0;
  font-weight: 900;
  font-size: 4.2em;
  line-height: 0.78;
  padding: 0.08em 0.1em 0 0;
  color: var(--wp--preset--color--red);
}

.wp-block-post-content .wp-block-pullquote {
  margin: 2rem 0;
  padding: 0 0 0 24px;
  border: 0;
  border-left: 4px solid var(--wp--preset--color--red);
  text-align: left;
}
.wp-block-post-content .wp-block-pullquote p {
  font-family: var(--wp--preset--font-family--display);
  font-style: italic;
  font-weight: 600;
  font-size: 2.125rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.wp-block-post-content .wp-block-pullquote cite { font-family: var(--wp--preset--font-family--label); font-size: 0.8125rem; font-style: normal; color: var(--wp--preset--color--meta); }

/* The two story blocks, inserted as synced patterns */
.ln-bridge,
.ln-checked {
  border: 2px solid var(--wp--preset--color--ink);
  padding: 22px 26px 24px;
  font-size: 1.125rem;
  line-height: 1.5;
}
.ln-bridge { border-top-width: 8px; border-top-color: var(--wp--preset--color--red); }
.ln-bridge h2, .ln-bridge h3, .ln-checked h2, .ln-checked h3 {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: 1.625rem;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.ln-checked h3 + ul { margin-top: 0; }
.ln-checked h3:not(:first-child) { margin-top: 18px; }
.ln-bridge > * + *, .ln-checked > * + * { margin-block-start: 10px; }

.ln-corrections {
  margin-top: 1.75rem;
  font-family: var(--wp--preset--font-family--label);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--wp--preset--color--meta);
}
.ln-corrections a { color: inherit; text-decoration: underline; }

.ln-readnext { margin-top: 3.5rem; }

/* ---- Archives ----------------------------------------------------------- */

.ln-archive-head { padding-top: 2.5rem; border-bottom: 3px solid var(--wp--preset--color--ink); padding-bottom: 14px; margin-bottom: 26px; display: flex; flex-direction: column; gap: 10px; }
.ln-archive-head > * { margin: 0; }
.ln-archive-title,
.wp-block-query-title.ln-archive-title {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--wp--preset--color--red);
  margin: 0;
}
.ln-archive-title .wp-block-query-title__prefix,
.wp-block-query-title.ln-archive-title span { display: none; }
.ln-archive-desc, .wp-block-term-description.ln-archive-desc { font-size: 1.0625rem; color: var(--wp--preset--color--meta); max-width: 640px; }
.ln-archive-desc p { margin: 0; }

.wp-block-query-pagination { margin-top: 2.5rem; font-family: var(--wp--preset--font-family--label); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; }
.wp-block-query-pagination a { text-decoration: none; }

/* ---- Footer ------------------------------------------------------------ */

.ln-footer {
  margin-top: 4.5rem;
  border-top: 3px solid var(--wp--preset--color--ink);
  background: var(--wp--preset--color--band);
  color: var(--wp--preset--color--ink);
}
.ln-footer-inner { padding-top: 2.25rem; padding-bottom: 2.75rem; gap: 32px 48px; align-items: flex-start; }
.ln-footer-col { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ln-footer-col > * { margin: 0; }
.ln-footer-col-wide { flex: 1 1 340px; }
.ln-footer-col-narrow { flex: 1 1 200px; }
.ln-flags { display: flex; gap: 8px; align-items: center; }
.ln-flags svg { display: block; }
.ln-footer-wordmark {
  font-family: var(--wp--preset--font-family--display);
  font-variation-settings: "SOFT" 70, "WONK" 0;
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.ln-footer-wordmark a { text-decoration: none; }
.ln-footer p { font-size: 1rem; line-height: 1.5; }
.ln-footer .ln-k { color: var(--wp--preset--color--ink); }
.ln-footer-nav,
.wp-block-navigation.ln-footer-nav {
  font-family: var(--wp--preset--font-family--label);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  gap: 10px;
}
.ln-footer-nav a { text-decoration: none; }
.ln-footer-nav a:hover { color: var(--wp--preset--color--red); }

/* ---- Small screens ----------------------------------------------------- */

@media (max-width: 600px) {
  .ln-nav, .wp-block-navigation.ln-nav { gap: 8px 18px; }
  .ln-numbered .wp-block-post-template > .wp-block-post { padding-left: 44px; }
  .wp-block-post-content { font-size: 1.125rem; }
}

/* ==== 0.2.0: the Nov. 3 design canvas, the parts 0.1.2 left out ============ */

/* Bylines: a middle dot between the parts */
.ln-by { gap: 0 6px; }
.ln-by > * + *::before { content: "·"; margin-right: 6px; }
.ln-by > p:empty { display: none; }
.ln-by .wp-block-post-date + .wp-block-post-date::before { margin-right: 6px; }

/* ---- Header: lanes left, About and Write for us right, one rule pair ---- */

.ln-navrow {
  margin-top: 1.4rem;
  border-top: 3px solid var(--wp--preset--color--ink);
  border-bottom: 1px solid var(--wp--preset--color--ink);
  padding: 12px 0;
  gap: 8px 24px;
  align-items: center;
}
.ln-navrow > * { margin: 0; }
.ln-navrow .ln-nav,
.ln-navrow .wp-block-navigation.ln-nav,
.ln-nav .wp-block-navigation__container.ln-nav {
  margin: 0;
  border: 0;
  padding: 0;
}
.ln-navrow-aux {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-family: var(--wp--preset--font-family--label);
  font-weight: 600;
  font-stretch: 110%;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wp--preset--color--meta);
}
.ln-navrow-aux a { color: inherit; text-decoration: none; }
.ln-navrow-aux a:hover { color: var(--wp--preset--color--red); }

/* ---- Image fields: the slot says what it waits for ---------------------- */

.ln-field:not(:has(img))::after,
.ln-field-empty::after {
  content: "Photo · [Where], [when]";
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: var(--wp--preset--font-family--label);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  background: var(--wp--preset--color--paper);
  padding: 6px 8px;
}
.ln-field-empty[data-label]::after { content: attr(data-label); }
.ln-doc-still:not(:has(img))::after { content: "Still · [Where], [when]"; }

/* ---- Front page: lead photograph left, lead and three cover lines right - */

.ln-top {
  display: grid;
  grid-template-columns: minmax(0, 620fr) minmax(0, 400fr);
  column-gap: 40px;
  align-items: start;
  margin-top: 2.25rem;
}
.ln-top > * { margin-block-start: 0; }
.ln-top .ln-lead,
.ln-top .ln-lead > .wp-block-post-template,
.ln-top .ln-lead > .wp-block-post-template > .wp-block-post,
.ln-top .ln-lead-item { display: contents; }
.ln-top .ln-lead-photo { grid-column: 1; grid-row: 1 / span 2; }
.ln-top .ln-lead-text { grid-column: 2; grid-row: 1; }
.ln-top .ln-coverlines {
  grid-column: 2;
  grid-row: 2;
  margin-top: 18px;
  border-top: 1px solid var(--wp--preset--color--ink);
  padding-top: 18px;
}
.ln-coverlines .wp-block-post-template {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ln-coverlines .wp-block-post-template > .wp-block-post { margin: 0; }
.ln-coverlines .category-opinion .ln-h-cover { font-style: italic; }
@media (max-width: 900px) {
  .ln-top { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .ln-top .ln-lead-photo,
  .ln-top .ln-lead-text,
  .ln-top .ln-coverlines { grid-column: 1; grid-row: auto; }
  .ln-top .ln-coverlines { margin-top: 0; }
}

/* Lanes: the cards share the full width */
.ln-front .ln-lane .wp-block-post-template.is-layout-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 32px;
}
.ln-front .ln-lane-opinion .wp-block-post-template.is-layout-grid { gap: 32px 40px; }

.ln-disclosure,
.ln-note {
  margin: 0;
  font-family: var(--wp--preset--font-family--label);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--wp--preset--color--meta);
}

/* Photos: one large, two stacked */
.ln-mosaic { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.ln-mosaic-main { flex: 2 1 560px; min-width: 0; display: flex; }
.ln-mosaic-main > a { flex: 1 1 auto; }
.ln-mosaic-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ln-mosaic-side > a { flex: 1 1 auto; }
.ln-mosaic a { display: block; }
.ln-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ln-h-photo,
.wp-block-post-title.ln-h-photo {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Documentary: the play mark on the still */
.ln-doc-still { flex: 2 1 640px; }
.ln-doc-still::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  margin: -44px 0 0 -44px;
  border-radius: 50%;
  background: var(--wp--preset--color--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23F3EBDD'/%3E%3C/svg%3E") center / 34px 34px no-repeat;
  pointer-events: none;
}

/* ---- Article: byline rule the width of the head, body and a side column - */

.ln-article-head > * { width: 100%; box-sizing: border-box; }
.ln-hero { margin: 2rem 0 0; }
.ln-hero-caption {
  margin: 10px 0 0;
  font-family: var(--wp--preset--font-family--label);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--wp--preset--color--meta);
}
.ln-hero-caption:empty { display: none; }

.ln-article-cols { gap: 40px 64px; align-items: flex-start; margin-top: 2.5rem; }
.ln-article-cols > * { margin: 0; }
.ln-article-body { flex: 1 1 560px; min-width: 0; max-width: 740px; }
.ln-article-body > .wp-block-post-content { margin-top: 0; }
.ln-article-aside { flex: 0 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.ln-article-aside > * { margin: 0; }
.ln-article-aside .ln-readnext { margin-top: 0; }

.ln-aside-block {
  border-top: 3px solid var(--wp--preset--color--ink);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ln-aside-block > * { margin: 0; }
.ln-aside-title,
h2.ln-aside-title {
  margin: 0;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 900;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--wp--preset--color--ink);
}
.ln-aside-title-red, h2.ln-aside-title-red { color: var(--wp--preset--color--red); }
.ln-readnext .wp-block-post-template {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ln-readnext .wp-block-post-template > .wp-block-post { margin: 0; }
.ln-aside-item {
  border-top: 1px solid var(--wp--preset--color--ink);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.ln-aside-item > * { margin: 0; }
.ln-aside-item .ln-tags:empty { display: none; }
.ln-h-aside,
.wp-block-post-title.ln-h-aside {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700;
  font-size: 1.3125rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 4px 0 0;
}
.ln-kinds { gap: 12px; }
.ln-kinds p { font-size: 0.9375rem; line-height: 1.45; }
.ln-kinds .ln-tag { margin-bottom: 4px; }

/* Story boxes and pull quote: the canvas's spacing; the checked box in two columns */
.wp-block-post-content .ln-bridge,
.wp-block-post-content .wp-block-pullquote { margin-block: 36px; }
.wp-block-post-content .ln-checked { margin-block: 36px 0; }
.ln-bridge h2, .ln-bridge h3 { font-size: 1.75rem; letter-spacing: -0.025em; }
.ln-checked h2, .ln-checked h3 { font-size: 1.5rem; }
.ln-checked {
  display: grid;
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px 40px;
}
.ln-checked > * { margin: 0 !important; }
.ln-checked ul { padding-left: 18px; font-size: 1rem; line-height: 1.5; }
@media (max-width: 640px) {
  .ln-checked { display: block; }
  .ln-checked > h2:not(:first-child), .ln-checked > h3:not(:first-child) { margin-top: 18px !important; }
  .ln-checked > ul { margin-top: 8px !important; }
}

/* ---- Footer: wordmark at its size, three columns ------------------------- */

.ln-footer p.ln-footer-wordmark { font-size: 1.75rem; line-height: 1; }
.ln-footer-inner > .ln-footer-nav,
.ln-footer-inner > .wp-block-navigation.ln-footer-nav { flex: 1 1 200px; min-width: 0; }
.wp-block-post-content .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; }

/* ==== 0.2.1: films ==================================================== */

/* The story hero as a player: still as poster, embed on first click */
.ln-film { position: absolute; inset: 0; }
.ln-film-play { all: unset; box-sizing: border-box; display: block; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.ln-film-play:focus-visible { outline: 3px solid var(--wp--preset--color--red); outline-offset: -3px; }
.ln-film-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ln-film-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  margin: -44px 0 0 -44px;
  border-radius: 50%;
  background: var(--wp--preset--color--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23F3EBDD'/%3E%3C/svg%3E") center / 34px 34px no-repeat;
  transition: transform 0.15s ease;
}
.ln-film-play:hover .ln-film-mark { transform: scale(1.06); }
.ln-film-label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: var(--wp--preset--font-family--label);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  background: var(--wp--preset--color--paper);
  padding: 6px 8px;
}
.ln-film iframe, .ln-film video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.ln-field:has(.ln-film)::after { content: none; }
.ln-film-oembed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==== 0.3.0: image first =============================================== */

/* Pictures keep their own shape where the template asks (lead, hero, film still) */
.ln-field img { display: block; }
.ln-field:has(> .ln-natural) { aspect-ratio: auto; }
.ln-field > .ln-natural { position: relative; inset: auto; width: 100%; height: auto; margin: 0; }
.ln-field > .ln-natural img { width: 100%; height: 100%; object-fit: cover; }
.ln-field:has(> .ln-portrait) { aspect-ratio: 4 / 3; background: var(--wp--preset--color--band); }
.ln-field > .ln-portrait img { object-fit: contain !important; } /* the block sets cover inline */

/* Thumbnails: a small halftone and no slot label */
.ln-thumb { aspect-ratio: 4 / 3; background-size: 5px 5px; }
.ln-field.ln-thumb::after { content: none; }
/* No photograph yet: no thumbnail, the words take the row as before */
.ln-thumb:not(:has(img)) { display: none; }
.ln-coverline:not(:has(.ln-thumb img)),
.ln-numbered-item:not(:has(.ln-thumb img)) { grid-template-columns: minmax(0, 1fr); }

/* ---- Front page: the lead picture across the page, the words under it --- */

.ln-top .ln-lead-photo { aspect-ratio: 16 / 9; }
.ln-top .ln-lead-photo:has(> .ln-natural) { aspect-ratio: auto; }
@media (min-width: 901px) {
  .ln-top {
    grid-template-columns: minmax(0, 760fr) minmax(0, 440fr);
    column-gap: 56px;
    row-gap: 28px;
  }
  .ln-top .ln-lead-photo { grid-column: 1 / -1; grid-row: 1; }
  .ln-top .ln-lead-text { grid-column: 1; grid-row: 2; }
  .ln-top .ln-coverlines {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    border-top: 3px solid var(--wp--preset--color--ink);
    padding-top: 16px;
  }
}
.ln-top .ln-h-lead { font-size: var(--wp--preset--font-size--headline); line-height: 0.98; letter-spacing: -0.03em; }

/* The lead as a film: still, silent loop, play mark at the lower left */
.ln-lead-film { position: relative; margin: 0; }
.ln-lead-film-link { display: block; position: relative; width: 100%; height: 100%; color: inherit; }
.ln-lead-film img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ln-lead-film .ln-film-mark { left: 24px; top: auto; bottom: 24px; margin: 0; width: 64px; height: 64px; background-size: 26px 26px; }
.ln-lead-film .ln-film-label { left: 100px; bottom: 43px; }
.ln-lead-film-link:hover .ln-film-mark { transform: scale(1.06); }
.ln-lead-film-link:focus-visible { outline: 3px solid var(--wp--preset--color--red); outline-offset: 3px; }
@media (max-width: 600px) {
  .ln-lead-film .ln-film-mark { left: 12px; bottom: 12px; width: 48px; height: 48px; background-size: 20px 20px; }
  .ln-lead-film .ln-film-label { left: 70px; bottom: 23px; }
  /* A scope picture is a sliver on a phone: the lead crops to 16:9 there */
  .ln-top .ln-lead-photo > .ln-natural { aspect-ratio: 16 / 9 !important; }
}

/* The silent loop and its pause button */
.ln-loop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.ln-loop.is-on { opacity: 1; }
.ln-loop-toggle {
  all: unset;
  box-sizing: border-box;
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 10px;
  font-family: var(--wp--preset--font-family--label);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--wp--preset--color--paper);
  background: rgba(26, 23, 20, 0.72);
  padding: 6px 9px;
  cursor: pointer;
}
.ln-loop-toggle:hover { background: var(--wp--preset--color--red); }
.ln-loop-toggle:focus-visible { outline: 2px solid var(--wp--preset--color--paper); outline-offset: 2px; }
.ln-loop-toggle[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .ln-loop, .ln-loop-toggle { display: none; }
}

/* Cover lines: a picture beside each */
.ln-coverline { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; }
.ln-coverline > * { margin: 0; }
.ln-coverline-text { display: flex; flex-direction: column; gap: 6px; }
.ln-coverline-text > * { margin: 0; }
.ln-coverlines .wp-block-post-template > .wp-block-post + .wp-block-post { border-top: 1px solid var(--wp--preset--color--ink); padding-top: 18px; }
@media (min-width: 1100px) {
  .ln-coverline { grid-template-columns: 140px minmax(0, 1fr); }
}

/* Issues: a picture beside each numbered item */
.ln-numbered-item { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 18px; align-items: start; }
.ln-numbered .ln-numbered-item > * { margin: 0; }
.ln-numbered .ln-numbered-text > * { margin: 0; }
.ln-numbered .ln-numbered-text > * + * { margin-top: 8px; }
@media (max-width: 600px) {
  .ln-coverline { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .ln-numbered-item { grid-template-columns: minmax(0, 1fr) 88px; gap: 14px; }
}

/* News: the first story large, two beside it */
@media (min-width: 900px) {
  .ln-front .ln-news-feature .wp-block-post-template.is-layout-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 32px 40px;
  }
  .ln-news-feature .wp-block-post-template > .wp-block-post:first-child { grid-row: span 2; }
  .ln-news-feature .wp-block-post:first-child .ln-h-item { font-size: 2.375rem; line-height: 1.02; letter-spacing: -0.025em; }
  .ln-news-feature .wp-block-post:first-child .ln-deck { font-size: 1.1875rem; }
  .ln-news-feature .wp-block-post:not(:first-child) .ln-deck { display: none; }
}

/* Photos: tighter gutters, the set reads as one picture */
.ln-mosaic, .ln-mosaic-side { gap: 12px; }

/* ---- Documentary: the screening band ------------------------------------ */

.ln-band {
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--paper);
  box-shadow: 0 0 0 100vmax var(--wp--preset--color--ink);
  clip-path: inset(0 -100vmax);
  padding-block: 2.5rem 3rem;
}
.ln-band .ln-lanehead { border-top-color: var(--wp--preset--color--paper); }
.ln-band .ln-lane-title { color: #E8604F; }
.ln-band .ln-lane-desc,
.ln-band .ln-note,
.ln-band .ln-by,
.ln-band .wp-block-post-date,
.ln-band .wp-block-post-author-name,
.ln-band .ln-prefix { color: #B9AE9C; }
.ln-band .ln-k { color: #E8604F; }
.ln-band .wp-block-post-title a { color: var(--wp--preset--color--paper); }
.ln-band .wp-block-post-title a:hover { color: #E8604F; }
.ln-band .ln-deck { color: var(--wp--preset--color--paper); }
.ln-band .ln-field { background-color: #2A2420; }
.ln-band .ln-field:not(:has(img))::after { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper); }
.ln-band .ln-doc-row { gap: 24px 56px; }
.ln-band .ln-doc-still { flex: 1 1 100%; }
.ln-band .ln-doc-text { flex: 1 1 100%; max-width: 880px; }

/* ---- Story page ---------------------------------------------------------- */

.ln-article { display: flex; flex-direction: column; }
.ln-article > * { margin-block-start: 0; }
.ln-article > .ln-hero { margin-top: 2rem; }
.ln-article > .ln-article-cols { margin-top: 2.5rem; }

/* A film opens the story, on the band */
.ln-article:has(.ln-film) > .ln-hero {
  order: -1;
  margin-top: 1.25rem;
  padding-block: 1.75rem 1.25rem;
  background: var(--wp--preset--color--ink);
  box-shadow: 0 0 0 100vmax var(--wp--preset--color--ink);
  clip-path: inset(0 -100vmax);
}
.ln-article:has(.ln-film) > .ln-hero .ln-hero-caption { color: #B9AE9C; }
.ln-article:has(.ln-film) > .ln-hero .ln-field { background-color: #2A2420; }

/* ==== 0.4.0: video essays ============================================== */

/* The player's one message, when a stream fails */
.ln-film-error {
  position: absolute;
  z-index: 4;
  left: 12px;
  bottom: 56px;
  margin: 0;
  font-family: var(--wp--preset--font-family--label);
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--wp--preset--color--paper);
  background: var(--wp--preset--color--red);
  padding: 8px 10px;
}

/* ---- The essay page ---------------------------------------------------- */

.ln-essay { margin-block-start: 0; }
.ln-essay > * { margin-block-start: 0; }

/* Cover: the film across the page on ink, the title over its lower edge */
.ln-essay-cover {
  --ln-pad: max(var(--wp--style--root--padding-left, 1rem), calc((100% - 1280px) / 2));
  position: relative;
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--paper);
}
.ln-essay-stage { position: relative; }
.ln-essay-stage > * { margin: 0; }
.ln-essay-stage > .ln-film,
.ln-essay-stage > .wp-block-post-featured-image {
  position: relative;
  inset: auto;
  width: 100%;
  margin: 0;
  background: #000;
}
.ln-essay-stage > .ln-film:not(.ln-natural) { aspect-ratio: 16 / 9; }
.ln-essay-stage > .wp-block-post-featured-image img { display: block; width: 100%; height: auto; }
.ln-essay-cover .ln-film-mark { top: 42%; }
.ln-essay-cover .ln-film-label { left: 50%; bottom: auto; top: calc(42% + 56px); transform: translateX(-50%); white-space: nowrap; }
/* The loop's Pause sits top right, clear of the title over the film's lower edge */
.ln-essay-cover .ln-loop-toggle { top: 12px; bottom: auto; }
.ln-essay-titles,
.ln-essay-sub {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-inline: var(--ln-pad);
}
.ln-essay-titles { padding-block: 1.5rem 0; }
.ln-essay-sub { padding-block: 14px 2.5rem; }
.ln-essay-titles > *,
.ln-essay-sub > * { margin: 0; max-width: 980px; }
.ln-essay-cover .ln-essay-kicker { color: #E8604F; }
.ln-essay-cover .ln-essay-h1 {
  color: var(--wp--preset--color--paper);
  font-size: clamp(2.25rem, 4.4vw, 4.125rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.ln-essay-deck p { margin: 0; max-width: 760px; font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.4; color: var(--wp--preset--color--paper); }
.ln-essay-byline .wp-block-post-date,
.ln-essay-byline .wp-block-post-author-name,
.ln-essay-byline .ln-prefix,
.ln-essay-byline a { color: #B9AE9C; }
.ln-essay-byline a:hover { color: #E8604F; }
@media (min-width: 900px) {
  /* Over the film until it plays; under it once it does */
  .ln-essay-stage:has(> .ln-film):not(:has(.ln-film.is-playing)) > .ln-essay-titles {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding-block: 6rem 1.75rem;
    background: linear-gradient(to top, rgba(26, 23, 20, 0.92) 0%, rgba(26, 23, 20, 0.62) 45%, rgba(26, 23, 20, 0) 100%);
    pointer-events: none;
  }
  .ln-essay-stage:has(> .ln-film):not(:has(.ln-film.is-playing)) > .ln-essay-titles a { pointer-events: auto; }
}

/* The essay: one column of text; pictures and loops go across the page */
.ln-essay-body {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 1rem;
  font-size: 1.25rem;
  line-height: 1.62;
}
.ln-essay-body > * { margin-block: 0; }
.ln-essay-body > * + * { margin-block-start: 1.1em; }
.ln-essay-body > .alignfull,
.ln-essay-body > .alignwide { margin-block: clamp(2.5rem, 6vw, 4.5rem) !important; }
.ln-essay-body > .alignfull + .alignfull { margin-block-start: 0 !important; }
.ln-essay-end { padding-block: 1.5rem 3.5rem; }
.ln-essay-end > * { margin: 0; }
.ln-essay-end > * + * { margin-block-start: 14px; }

/* A photograph across the page, at its own shape */
.ln-essay-still img { display: block; width: 100%; height: auto; }
.ln-essay-still figcaption,
.ln-rolling figcaption {
  box-sizing: border-box;
  max-width: 1280px;
  margin: 10px auto 0;
  padding-inline: var(--wp--style--root--padding-left, 1rem);
  color: var(--wp--preset--color--meta);
}

/* A rolling loop in the page: its poster until it nears the screen */
.ln-rolling { position: relative; margin: 0; background: var(--wp--preset--color--ink); }
.ln-rolling video.ln-loop { position: relative; display: block; width: 100%; height: auto; opacity: 1; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  .ln-rolling video.ln-loop { display: block; }
}

/* Text over media: the loop or photograph holds the screen while passages scroll over it */
.ln-tom {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--paper);
  font-size: 1.1875rem;
  line-height: 1.55;
}
.ln-tom > * { grid-area: 1 / 1; margin: 0 !important; }
.ln-tom > figure {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.ln-tom > figure video,
.ln-tom > figure img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.ln-tom > figure::after { content: ""; position: absolute; inset: 0; background: rgba(26, 23, 20, 0.22); pointer-events: none; }
.ln-tom > figure figcaption { display: none; }
.ln-tom-cards {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 85vh;
  gap: 85svh;
  padding: 75svh var(--wp--style--root--padding-left, 1rem) 60svh;
  pointer-events: none;
}
.ln-tom-cards > * {
  box-sizing: border-box;
  width: 100%;
  max-width: 34rem;
  margin: 0 !important;
  padding: 1.5rem 1.75rem;
  background: rgba(26, 23, 20, 0.86);
  color: var(--wp--preset--color--paper);
  pointer-events: auto;
}
.ln-tom-cards a { color: var(--wp--preset--color--paper); }

/* Chapter over a photograph */
.ln-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--paper);
}
.ln-chapter > * { grid-area: 1 / 1; margin: 0 !important; }
.ln-chapter > figure img { display: block; width: 100%; height: min(85svh, 56vw) !important; object-fit: cover; }
.ln-chapter-text {
  align-self: end;
  position: relative;
  padding: 6rem max(var(--wp--style--root--padding-left, 1rem), calc((100% - 1280px) / 2)) 2rem;
  background: linear-gradient(to top, rgba(26, 23, 20, 0.88) 0%, rgba(26, 23, 20, 0) 100%);
}
.ln-chapter-text > * { margin: 0; max-width: 900px; color: var(--wp--preset--color--paper); }
.ln-chapter-text h2 { font-size: var(--wp--preset--font-size--xx-large); }

/* ==== 0.4.1: the film runs on its own ================================== */

/* Muted under the button; the still fades once the picture moves. "Watch with sound" is a small mark and label
   at the top left, clear of the picture (Pause sits at the top right); the whole picture still takes the click. */
.ln-film.is-auto .ln-film-play img { transition: opacity 0.8s ease; }
.ln-film.is-on .ln-film-play img { opacity: 0; }
.ln-film.is-auto .ln-film-mark {
  left: 12px;
  top: 12px;
  width: 40px;
  height: 40px;
  margin: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13.5 3A4.5 4.5 0 0 0 14 7.97v8.05A4.5 4.5 0 0 0 16.5 12zM14 3.23v2.06a7 7 0 0 1 0 13.42v2.06A9 9 0 0 0 14 3.23z' fill='%23F3EBDD'/%3E%3C/svg%3E");
  background-size: 20px 20px;
}
.ln-film.is-auto .ln-film-label,
.ln-essay-cover .ln-film.is-auto .ln-film-label { left: 58px; top: 18px; bottom: auto; transform: none; white-space: nowrap; }
.ln-film.is-auto .ln-loop-toggle { top: 18px; bottom: auto; }
@media (max-width: 600px) {
  .ln-film.is-auto .ln-film-mark { left: 8px; top: 8px; width: 32px; height: 32px; background-size: 16px 16px; }
  .ln-film.is-auto .ln-film-label,
  .ln-essay-cover .ln-film.is-auto .ln-film-label { left: 46px; top: 10px; padding: 4px 6px; font-size: 0.625rem; }
  .ln-film.is-auto .ln-loop-toggle { top: 10px; right: 8px; padding: 4px 7px; font-size: 0.625rem; }
}

/* ==== 0.4.3: the label holds over pale frames ============================ */

/* Over the film, the shade under the title reaches higher, the title carries a soft dark edge and the kicker sits
   on a small ink tab (like Pause), so "Video essay" reads over the pale opening as well as over the night shots. */
@media (min-width: 900px) {
  .ln-essay-stage:has(> .ln-film):not(:has(.ln-film.is-playing)) > .ln-essay-titles {
    background: linear-gradient(to top, rgba(26, 23, 20, 0.94) 0%, rgba(26, 23, 20, 0.82) 45%, rgba(26, 23, 20, 0.5) 75%, rgba(26, 23, 20, 0) 100%);
  }
  .ln-essay-stage:has(> .ln-film):not(:has(.ln-film.is-playing)) > .ln-essay-titles .ln-essay-kicker {
    align-self: flex-start;
    padding: 5px 9px 4px;
    background: rgba(26, 23, 20, 0.88);
    color: #F58A76;
  }
  .ln-essay-stage:has(> .ln-film):not(:has(.ln-film.is-playing)) > .ln-essay-titles .ln-essay-h1 {
    text-shadow: 0 2px 24px rgba(26, 23, 20, 0.45);
  }
}

/* ==== 0.4.7: Video moods, a section page of its own ===================== */
/* templates/category-video-moods.html is one dark band, like the front page's film band: the section's name,
   then each film with its still and play mark, kicker, title, deck and byline. */
.ln-screening > .ln-band { padding-block: 2.5rem 4rem; }
.ln-band .ln-archive-head { padding-top: 0; border-bottom-color: var(--wp--preset--color--paper); }
.ln-band .ln-archive-title,
.ln-band .wp-block-query-title.ln-archive-title { color: #E8604F; }
.ln-band .ln-archive-desc,
.ln-band .wp-block-term-description.ln-archive-desc { color: #B9AE9C; }
.ln-screening .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.ln-screening .wp-block-post-template > .wp-block-post + .wp-block-post {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(243, 235, 221, 0.2);
}
.ln-band .wp-block-query-pagination,
.ln-band .wp-block-query-pagination a { color: var(--wp--preset--color--paper); }
/* ==== 0.4.8: no halftone behind a real picture ========================== */
/* The red dot halftone marks an empty slot. Behind a still or a film it showed while the picture loaded,
   and on scaled displays the grid turned into diagonal lines and drifting haze. A slot that holds a
   picture or a film now waits as a plain field in its own tone. */
.ln-field:has(img),
.ln-field:has(video),
.ln-field:has(.ln-film) { background-image: none; }
/* ==== 0.4.9: no halftone on the dark bands ============================== */
/* Red dots on near-black are what read as a crosshatch with a frozen haze over it on a mini-LED (XDR) screen,
   whose backlight glows unevenly behind a field of small bright dots. On the dark film bands (the front page's
   Video essays lane and the Video moods page) an empty slot is now a plain dark field with its label.
   The paper-colored sections keep the halftone. */
.ln-band .ln-field { background-image: none; }
