/*
  Articles (Daylight): the standard and series article (post.hbs, "Dark lead"), the Essay (custom-essay.hbs, "Broadsheet")
  and Big picture (custom-big-picture.hbs, "Full frame"). Loaded on those pages only, after t.css.
  .t-prose is the article text, including every Ghost card the posts use.
*/

/* ---------- the article text ---------- */
.t-prose { font: 400 20px/1.68 var(--t-serif); color: var(--t-body); min-width: 0; }
.t-prose > * { margin: 0 0 1.2em; }
.t-prose > *:last-child { margin-bottom: 0; }
.t-prose h2 { font: 800 31px/1.1 var(--t-sans); letter-spacing: -.025em; color: var(--t-ink); margin: 1.9em 0 .6em; scroll-margin-top: 110px; }
.t-prose h3 { font: 700 23px/1.25 var(--t-sans); letter-spacing: -.012em; color: var(--t-ink); margin: 1.6em 0 .5em; scroll-margin-top: 110px; }
.t-prose h4 { font: 700 18px/1.3 var(--t-sans); color: var(--t-ink); margin: 1.4em 0 .4em; }
.t-prose a { color: var(--t-ink); text-decoration: underline; text-decoration-color: var(--t-sun); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-skip-ink: none; transition: text-decoration-color .2s; }
.t-prose a:hover { text-decoration-color: var(--t-ink); }
.t-prose strong { color: var(--t-ink); font-weight: 650; }
.t-prose ul, .t-prose ol { padding: 0; list-style: none; }
.t-prose ul > li { position: relative; padding-left: var(--t-s5); margin-bottom: .5em; }
.t-prose ul > li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--t-sun); }
.t-prose ol { counter-reset: n; }
.t-prose ol > li { position: relative; padding-left: 34px; margin-bottom: .5em; counter-increment: n; }
.t-prose ol > li::before { content: counter(n) "."; position: absolute; left: 0; top: .18em; font: 700 15px var(--t-sans); color: var(--t-ember); }
.t-prose blockquote:not([class]) { margin: 1.6em 0; padding-left: 22px; border-left: 3px solid var(--t-sun); color: var(--t-muted); font-style: italic; }
.t-prose .kg-blockquote-alt { text-align: left; margin: 1.8em 0; padding: 2px 0 2px var(--t-s5); border-left: 4px solid var(--t-sun); font: 400 32px/1.22 var(--t-serif); letter-spacing: -.01em; color: var(--t-ink); font-style: normal; }
.t-prose hr { border: 0; height: 1px; background: var(--t-line); margin: 2.4em 0; }
.t-prose code { font: 500 .85em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--t-soft); padding: .12em .36em; border-radius: 5px; }
.t-prose pre { background: var(--t-night); color: #e6e9ec; border-radius: 12px; padding: 18px 20px; overflow-x: auto; font: 400 14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.t-prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.t-prose table { width: 100%; border-collapse: collapse; font: 400 15.5px/1.45 var(--t-sans); display: block; overflow-x: auto; }
.t-prose th { text-align: left; font: 700 13px var(--t-sans); letter-spacing: 0; text-transform: none; color: var(--t-muted); border-bottom: 2px solid var(--t-ink); padding: 10px 14px 10px 0; }
.t-prose td { border-bottom: 1px solid var(--t-line); padding: 10px 14px 10px 0; vertical-align: top; }
.t-prose iframe { max-width: 100%; border: 0; }

/* pictures: plain, with small corners; captions in the interface face with a figure number */
.t-prose figure { margin: 2em 0; position: relative; }
.t-prose figure img { display: block; margin: 0 auto; border-radius: 4px; }
.t-prose figcaption { font: 400 14px/1.5 var(--t-sans); color: var(--t-muted); margin-top: var(--t-s3); }
.t-prose figcaption b.t-fig { color: var(--t-ember); font-weight: 700; letter-spacing: 0; margin-right: var(--t-s2); }
.t-prose .kg-width-wide { position: relative; width: min(1040px, calc(100vw - 64px)); margin-left: 50%; transform: translateX(-50%); }
.t-prose .kg-width-full { position: relative; width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.t-prose .kg-width-full img { border-radius: 0; }
.t-prose .kg-width-full figcaption { padding: 0 var(--t-s6); }
.t-prose .kg-gallery-container { display: flex; flex-direction: column; gap: 10px; }
.t-prose .kg-gallery-row { display: flex; gap: 10px; }
.t-prose .kg-gallery-image { flex: 1 1 0; }
.t-prose .kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.t-prose .kg-embed-card { display: flex; flex-direction: column; align-items: center; }
.t-prose .kg-embed-card iframe { width: 100%; aspect-ratio: 16/9; height: auto; border-radius: 4px; }
.t-prose .kg-video-card video, .t-prose video { width: 100%; border-radius: 4px; }
.t-prose .kg-bookmark-card a.kg-bookmark-container, .t-prose .kg-bookmark-container { display: flex; text-decoration: none; background: var(--t-soft); border-radius: 10px; overflow: hidden; color: var(--t-ink); }
.t-prose .kg-bookmark-content { flex: 1; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.t-prose .kg-bookmark-title { font: 700 17px/1.3 var(--t-sans); }
.t-prose .kg-bookmark-description { font: 400 14.5px/1.5 var(--t-sans); color: var(--t-muted); line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.t-prose .kg-bookmark-metadata { font: 500 13px var(--t-sans); color: var(--t-muted); display: flex; align-items: center; gap: var(--t-s2); }
.t-prose .kg-bookmark-icon { width: 18px; height: 18px; border-radius: 4px; }
.t-prose .kg-bookmark-thumbnail { width: 30%; max-width: 220px; position: relative; }
.t-prose .kg-bookmark-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.t-prose .kg-callout-card { display: flex; gap: var(--t-s3); background: var(--t-light); border-radius: 10px; padding: 18px 20px; }
.t-prose .kg-callout-emoji { font-size: 20px; line-height: 1.4; }
.t-prose .kg-header-card { background: var(--t-night); color: #fff; border-radius: 10px; padding: var(--t-s7) var(--t-s6); text-align: left; }
.t-prose .kg-header-card h2, .t-prose .kg-header-card .kg-header-card-header { color: #fff; margin: 0 0 .4em; }
.t-prose .kg-button-card { text-align: left; }
.t-prose .kg-btn { display: inline-block; font: 600 15px var(--t-sans); background: var(--t-sun); color: var(--t-ink); padding: var(--t-s3) 20px; border-radius: 999px; text-decoration: none; }
.t-prose .kg-toggle-card { border-top: 1px solid var(--t-line); border-bottom: 1px solid var(--t-line); padding: var(--t-s4) 0; }
.t-prose .kg-toggle-heading-text { font: 700 18px var(--t-sans); }
.t-prose .kg-file-card a { display: flex; gap: var(--t-s3); background: var(--t-soft); border-radius: 10px; padding: var(--t-s4) 18px; text-decoration: none; }
.t-prose .kg-card-hascaption figcaption { text-align: left; }

/* ---------- shared pieces ---------- */
.t-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.t-topic { display: inline-flex; align-items: center; gap: var(--t-s2); }
.t-topic i { width: 9px; height: 9px; border-radius: 50%; background: var(--t-sun); }
.t-by { display: flex; align-items: center; gap: 14px; }
.t-by img, .t-by .t-av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--t-soft); }
.t-by b { font-weight: 700; font-size: 14.5px; display: block; }
.t-by small { font-size: 13px; opacity: .65; }
.t-by .t-btn { margin-left: auto; }
.t-endbtns { display: flex; flex-wrap: wrap; gap: var(--t-s2); margin-top: 2.6em; padding-top: 22px; border-top: 2px solid var(--t-ink); font-family: var(--t-sans); }
.t-next { display: grid; grid-template-columns: 1fr 1fr; gap: var(--t-s6); margin-top: 26px; font-family: var(--t-sans); }
.t-nx { display: flex; flex-direction: column; gap: 10px; padding: var(--t-s4) 0 0; border-top: 6px solid var(--t-sky); transition: border-color .2s; }
.t-nx:hover { border-color: var(--t-sun); }
.t-nx .t-k { color: var(--t-muted); }
.t-nx h3 { font: 700 22px/1.2 var(--t-sans); letter-spacing: -.015em; }
.t-nx.next { text-align: right; }
.t-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.t-mc { position: relative; overflow: hidden; isolation: isolate; border-radius: 10px; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--t-s2); padding: 20px; color: #fff; background: var(--t-night); }
.t-mc .im { position: absolute; inset: 0; background: var(--t-night) center/cover; z-index: calc(var(--t-z-under) - 1); }
.t-mc:hover .im { transform: scale(1.05); }
.t-mc .t-k { color: var(--t-sun); }
.t-mc h3 { font: 700 21px/1.2 var(--t-sans); letter-spacing: -.012em; }
.t-moresec { max-width: 1120px; margin: 90px auto 0; padding: 0 var(--t-s6); }
.t-comments { margin-top: 3em; }

/* ---------- the standard and series article: a sky head with the sun's path, the picture rising out of it ---------- */
.ta-head { padding: 140px 0 0; }
.ta-head .t-meta { color: var(--t-muted); }
.ta-head .t-topic { color: var(--t-ink); }
.ta-head h1 { font: 800 72px/1 var(--t-sans); letter-spacing: -.035em; margin: 20px 0 20px; max-width: 860px; }
.ta-stand { font: 400 22px/1.5 var(--t-serif); color: var(--t-body); max-width: 640px; }
.ta-head .t-by { margin-top: 28px; max-width: 560px; }
.ta-head .t-by small { color: var(--t-muted); opacity: 1; }
.ta-glow { display: none; }
.ta-pic { max-width: var(--t-max); margin: var(--t-s7) auto 0; padding: 0 var(--t-s6); position: relative; }
.ta-pic .frame { position: relative; aspect-ratio: 2.2/1; border-radius: 4px 4px 0 0; overflow: hidden; background: var(--t-soft); }
.ta-pic .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.ta-pic .t-k { position: absolute; left: 50px; top: 16px; z-index: var(--t-z-base); background: var(--t-paper); color: var(--t-ink); padding: 6px var(--t-s3); border-radius: 999px; }
.ta-cap { max-width: var(--t-max); margin: 10px auto 0; padding: 0 var(--t-s6); font: 400 14px/1.5 var(--t-sans); color: var(--t-muted); }
.ta-body { max-width: var(--t-max); margin: 0 auto; padding: var(--t-s8) var(--t-s6) 0; display: grid; grid-template-columns: 240px minmax(0, 640px); gap: 80px; }
.ta-rail { position: sticky; top: 110px; align-self: start; display: grid; gap: var(--t-s6); max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); overflow: auto; scrollbar-width: none; }
.ta-rail h2 { font: 700 13px var(--t-sans); color: var(--t-ink); margin: 0 0 var(--t-s3); }
.ta-series ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; }
.ta-series li a { display: grid; grid-template-columns: 26px 1fr; font-size: 14px; line-height: 1.35; color: var(--t-muted); padding: 5px 0; transition: color .2s; }
.ta-series li a:hover { color: var(--t-ink); }
.ta-series li b { font: 700 13px var(--t-sans); }
.ta-series li.now a { color: var(--t-ink); font-weight: 700; }
.ta-series li.now b { color: var(--t-ember); }
.ta-related ol { list-style: none; padding: 0; margin: 0; }
.ta-related li a { display: block; font-size: 14px; line-height: 1.4; color: var(--t-muted); padding: var(--t-s2) 0; border-bottom: 1px solid var(--t-line); transition: color .2s; }
.ta-related li a:hover { color: var(--t-ink); }
.ta-toc[hidden] { display: none; }
.ta-toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--t-line); position: relative; }
.ta-toc ol::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 100%; background: var(--t-sun); transform: scaleY(var(--rd, 0)); transform-origin: top; transition: transform .2s ease-out; }
.ta-toc li a { display: block; font-size: 14px; line-height: 1.35; padding: 7px 0 7px 14px; color: var(--t-muted); transition: color .2s; }
.ta-toc li.on a { color: var(--t-ink); font-weight: 700; }

/* ---------- the Essay: a morning-sky head, the reading face, a short sun bar instead of a broadsheet rule ---------- */
.te-head { max-width: 1000px; margin: 0 auto; padding: 150px var(--t-s6) 0; }
.te-rule { width: 72px; height: 8px; border-radius: 4px; background: var(--t-sun); margin-bottom: 22px; }
.te-head .t-meta { color: var(--t-muted); }
.te-head .t-topic { color: var(--t-ink); }
.te-head h1 { font: 400 84px/.98 var(--t-serif); letter-spacing: -.02em; margin: 18px 0 var(--t-s5); }
.te-head .t-c.lead { color: var(--t-ember); }
.te-stand { font: italic 400 23px/1.45 var(--t-serif); color: var(--t-body); margin: -6px 0 var(--t-s5); max-width: 720px; }
.te-byrow { padding: 6px 0 0; }
.te-pic { max-width: var(--t-max); margin: 34px auto 0; padding: 0 var(--t-s6); }
.te-pic .im { position: relative; aspect-ratio: 2.1/1; overflow: hidden; background: var(--t-soft); border-radius: 4px; }
.te-pic .im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.te-pic .capt { display: flex; justify-content: space-between; gap: 20px; margin-top: 10px; color: var(--t-muted); }
.te-body { max-width: var(--t-max); margin: 0 auto; padding: 56px var(--t-s6) 0; display: grid; grid-template-columns: 200px minmax(0, 680px) 200px; gap: 60px; justify-content: center; }
.te-side { position: sticky; top: 110px; align-self: start; display: grid; gap: 14px; }
.te-side .t-k { color: var(--t-muted); }
.te-side a.t-also { font: 600 15px/1.35 var(--t-sans); color: var(--t-ink); }
.te-side a.t-also:hover { text-decoration: underline; text-decoration-color: var(--t-sun); text-decoration-thickness: 2px; }
.t-prose.te-prose { font: 400 21px/1.7 var(--t-serif); }
.te-prose p.te-salute { font-style: italic; color: var(--t-muted); }
.te-prose p.te-drop::first-letter { float: left; font: 500 4.6em/.82 var(--t-serif); margin: .06em .1em 0 -.02em; color: var(--t-ink); }
.te-prose p.te-sign { font: italic 400 30px/1.2 var(--t-serif); margin-top: 1.4em; }
.te-prose h2, .te-prose h3 { font-family: var(--t-sans); }
.te-prose .kg-blockquote-alt, .te-prose .te-pull { text-align: left; margin: 1.6em 0 1.6em -120px; padding: 0 0 0 22px; border-left: 4px solid var(--t-sun); font: 800 40px/1.08 var(--t-sans); letter-spacing: -.03em; color: var(--t-ink); font-style: normal; }
.te-prose .kg-blockquote-alt em, .te-prose .te-pull em { font-style: normal; }
.te-cap { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%); z-index: var(--t-z-pill); display: flex; align-items: center; gap: 14px; padding: var(--t-s2) var(--t-s2) var(--t-s2) 18px; border-radius: 999px;
  background: rgba(23,32,51,.9); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .6s var(--t-ease); }
.te-cap.on { transform: translate(-50%, 0); }
.te-cap .track { width: 160px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.16); overflow: hidden; }
.te-cap .track i { display: block; height: 100%; width: 0; background: var(--t-sun); }
.te-cap .t-k { color: rgba(255,255,255,.8); font-size: 13px; min-width: 128px; }
.te-cap .t-btn { background: rgba(255,255,255,.12); border-color: transparent; color: #fff; width: 34px; height: 34px; padding: 0; }
.te-cap .t-btn:hover { background: var(--t-sun); color: var(--t-ink); }
.te-end { max-width: 680px; margin: 3em auto 0; padding: 0 var(--t-s6); }
.te-author { display: grid; grid-template-columns: auto 1fr auto; gap: var(--t-s4); align-items: center; border-top: 2px solid var(--t-ink); border-bottom: 1px solid var(--t-line); padding: 20px 0; }
.te-author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.te-author p { color: var(--t-muted); font: 400 15px/1.5 var(--t-sans); line-height: 1.5; margin-top: var(--t-s1); }

/* ---------- Big picture: "Full frame" ---------- */
.tb { --p: 0; }
.tb-hero { position: relative; height: 200vh; }
.tb-stick { position: sticky; top: 0; height: 100vh;height: 100dvh; overflow: hidden; background: #000; }
.tb-photo { position: absolute; inset: -3%; transform: scale(calc(1.02 + var(--p) * .12)); }
.tb-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.tb-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,32,51,.4), rgba(23,32,51,.05) 35%, rgba(23,32,51,.3) 60%, rgba(23,32,51,.92)); }
.tb-grid { display: none; }
.tb-dim { position: absolute; inset: 0; background: var(--t-night); opacity: calc(var(--p) * .55); }
.tb-tag { position: absolute; right: max(32px, calc((100vw - 1120px) / 2)); top: 96px; background: var(--t-paper); color: var(--t-ink); padding: 6px var(--t-s3); border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tb-copy { position: absolute; left: 0; right: 0; bottom: 80px; max-width: 1120px; margin: 0 auto; padding: 0 var(--t-s6); color: #fff; transform: translateY(calc(var(--p) * -50px)); opacity: calc(1 - var(--p) * 1.1); }
.tb-copy .t-meta { color: rgba(255,255,255,.75); }
.tb-copy h1 { font: 800 84px/.98 var(--t-sans); letter-spacing: -.04em; margin: 18px 0 18px; max-width: 960px; }
.tb-stand { font: 400 22px/1.5 var(--t-serif); color: rgba(255,255,255,.8); max-width: 620px; }
.tb-copy .t-by { margin-top: 22px; }
.tb-copy .t-by small { color: rgba(255,255,255,.7); opacity: 1; }
.tb-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: rgba(255,255,255,.6); opacity: calc(1 - var(--p) * 4); }
.tb-cue::after { content: ""; display: block; width: 1px; height: 26px; background: rgba(255,255,255,.5); margin: var(--t-s2) auto 0; }
.tb-sheet { position: relative; z-index: var(--t-z-raised); margin-top: -30vh; background: var(--t-paper); padding: 90px var(--t-s6) 0; border-top: 6px solid var(--t-sun); }
.tb-col { max-width: 640px; margin: 0 auto; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .te-body { grid-template-columns: minmax(0, 680px) 180px; }
  .te-body .te-side.l { display: none; }
  .te-prose .kg-blockquote-alt, .te-prose .te-pull { margin-left: 0; }
}
@media (max-width: 900px) {
  .ta-head { padding-top: 110px; }
  .ta-head h1, .te-head h1 { font-size: 44px; }
  .te-head h1 { font-size: 48px; }
  .ta-stand { font-size: 17.5px; }
  .ta-pic, .te-pic { padding: 0 20px; }
  .ta-pic .frame, .te-pic .im { aspect-ratio: 4/3; }
  .ta-pic .t-k { left: 32px; }
  .ta-head h1 { font-size: 42px; }
  .ta-stand { font-size: 19px; }
  .ta-cap { padding: 0 20px; }
  .ta-body { grid-template-columns: 1fr; gap: 0; padding: 40px 20px 0; }
  .ta-rail { display: none; }
  .te-head { padding: 110px 20px 0; }
  .te-body { grid-template-columns: 1fr; padding: 40px 20px 0; }
  .te-side { display: none; }
  .t-prose { font-size: 19px; }
  .t-prose.te-prose { font-size: 19.5px; }
  .t-prose h2 { font-size: 27px; }
  .te-prose .kg-blockquote-alt, .te-prose .te-pull { font-size: 30px; }
  .t-prose .kg-blockquote-alt { font-size: 26px; }
  .t-prose .kg-width-wide { width: calc(100vw - 40px); }
  .t-next, .t-more { grid-template-columns: 1fr; }
  .t-moresec { padding: 0 20px; }
  .te-end { padding: 0 20px; }
  .te-cap .track { width: 90px; }
  .te-cap .t-k { min-width: 0; }
  .tb-copy { padding: 0 20px; bottom: 60px; }
  .tb-copy h1 { font-size: 44px; }
  .tb-stand { font-size: 16.5px; }
  .tb-sheet { padding: 70px 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .t-mc .im { transition: none; }
  .te-cap { transition: none; }
  .tb-photo, .tb-copy { transform: none !important; }
  .tb-hero { height: 100vh;height: 100dvh; }
}

/* ---------- numbers, stats and small text in the data face: Atkinson Hyperlegible Next with lining, even-width figures (content/DESIGN.md, section 3) ---------- */
.t-prose figcaption, .ta-cap, .t-by small, .ta-series li a, .ta-related li a, .ta-toc li a, .ta-rail h2, .t-prose table, .t-prose th, .t-prose .kg-bookmark-description, .t-prose .kg-bookmark-metadata, .te-side a.t-also, .te-author p, .te-pic .capt, .t-prose ol > li::before, .t-prose figcaption b.t-fig, .ta-series li b { font-family: var(--t-data); font-variant-numeric: var(--t-figs); letter-spacing: 0; }

/* ---------- polish ---------- */
/* wide pictures stay inside the reading column when a rail or side column sits beside it, so they never paint over the rail */
.ta-body .t-prose .kg-width-wide, .te-body .t-prose .kg-width-wide { width: 100%; margin-left: 0; transform: none; }
.ta-rail { position: sticky; z-index: var(--t-z-raised); }
/* the article picture shows its top edge (the window's title bar), not a crop through it */
.ta-pic .frame img { object-position: center top; }
/* "Keep reading" follows the story card: the picture, then the label and title on the paper, no box over the picture */
.t-mc { min-height: 0; padding: 0; gap: var(--t-s2); justify-content: flex-start; color: var(--t-ink); background: none; border-radius: 0; overflow: visible; }
.t-mc .im { position: relative; inset: auto; z-index: auto; aspect-ratio: 16 / 10; border-radius: 4px; margin-bottom: var(--t-s2); background-color: var(--t-soft); }
.t-mc::after { content: none; }
.t-mc:hover .im { transform: none; }
.t-mc .t-k { color: var(--t-ember); }
.t-mc:hover h3 { text-decoration: underline; text-decoration-color: var(--t-sun); text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* the essay head is the morning sky like every other head, running the full width behind its column */
.te-head { position: relative; padding-bottom: var(--t-s8); }
.te-head::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--t-light); z-index: var(--t-z-under); }
.te-pic { margin-top: 0; }
.te-pic .im { margin-top: calc(var(--t-s6) * -1); }
/* Big picture under reduced motion: the photo is still, so the sheet no longer slides over the title and byline */
@media (prefers-reduced-motion: reduce) { .tb-sheet { margin-top: 0; } }

/* long unbroken titles in link cards (file names) wrap instead of running off the screen */
.t-prose .kg-bookmark-title, .t-prose .kg-bookmark-description { overflow-wrap: anywhere; }
/* the next and previous cards sit inside the article text but are not article text: no link underline, no heading margins,
   and a lone "Next" card takes the right-hand column */
.t-prose .t-next a, .t-prose a.t-nx { text-decoration: none; color: var(--t-ink); }
.t-prose .t-nx h3 { margin: 0; font: 700 22px/1.2 var(--t-sans); letter-spacing: -.015em; }
.t-prose .t-nx:hover h3 { text-decoration: underline; text-decoration-color: var(--t-sun); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.t-next .t-nx.next:only-child { grid-column: 2; }
@media (max-width: 900px) { .t-next .t-nx.next:only-child { grid-column: auto; } }
