/* The blog: list pages, post pages, the home page strip and Amharic type.
   Loads after site.css. Blog pages use main.page (never main > section), so the kit's
   one-screen section heights never apply to them. */

/* Amharic: Ge'ez letters come from Noto Ethiopic; Latin letters in the same line keep the site's fonts */
:lang(am) { --font-text: "Hanken Grotesk", "Noto Sans Ethiopic", system-ui, sans-serif; --font-display: "Newsreader", "Noto Serif Ethiopic", Georgia, serif; }
:lang(am) :is(p, li, .post-card__summary) { line-height: 1.75; }
:lang(am) :is(h1, h2, h3, .post__title) { letter-spacing: 0; line-height: 1.3; }

/* ------------------------------------------------------------ the page frame */
main.page { padding-block: calc(var(--nav, 72px) + var(--s-8, 64px)) var(--s-8, 64px); }
.page-head { display: grid; gap: var(--s-4); max-width: 820px; margin-bottom: var(--s-7, 48px); }
.page-head h1 { margin: 0; }
.page-head__lead { font-size: var(--t-lead); line-height: 1.5; max-width: 60ch; margin: 0; }
.eyebrow { margin: 0; font-size: var(--t-small); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* language tabs: real pages (/blog/, /blog/en/, /blog/am/), so they work without script */
.lang-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-bottom: var(--s-6, 40px); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.lang-tab { display: inline-flex; align-items: center; height: 40px; padding: 0 var(--s-4); border-radius: 999px; border: 1px solid var(--line-strong);
  font-weight: 500; color: var(--ink); text-decoration: none; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.lang-tab:hover { border-color: var(--ink); }
.lang-tab:active { transform: scale(0.97); }
.lang-tab.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.lang-tabs__rss { margin-left: auto; font-size: var(--t-small); color: var(--muted); text-underline-offset: 4px; }
.lang-tabs__rss:hover { color: var(--ink); }

/* ------------------------------------------------------------ post cards */
.post-grid { display: grid; gap: var(--s-6, 32px) var(--gap, 24px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1023px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .post-grid, .post-grid--two { grid-template-columns: 1fr; } }

.card.post-card { position: relative; display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; background: var(--card); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(0.23, 1, 0.32, 1); }
.post-card:hover .post-card__img { transform: scale(1.03); }
.post-card__ph { display: grid; place-items: center; width: 100%; height: 100%;
  background: radial-gradient(circle at 30% 20%, #f6eee2, #e8dbc6 45%, #d6c2a3); font: 400 var(--t-h3)/1 var(--font-display); color: var(--accent); }
.post-card__body { display: grid; gap: var(--s-3); padding: var(--s-5) var(--s-5) var(--s-6); }
.post-card__title { margin: 0; }
.post-card__title a { color: inherit; text-decoration: none; }
/* the whole card is the link target; the title stays the one real link for screen readers */
.post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card__title a:focus-visible { outline: none; }
.post-card:has(.post-card__title a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.post-card__summary { margin: 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin: 0; font-size: var(--t-small); color: var(--muted); }
.post-meta > span { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: color-mix(in oklab, var(--accent) 10%, transparent); color: var(--ink); }
.post-meta time + span { margin-left: var(--s-1, 4px); }

/* the home page strip */
.latest .section-head--row { align-items: end; }

.blog-empty { padding: var(--s-8, 64px) 0; display: grid; gap: var(--s-3); }

/* ------------------------------------------------------------ a post */
/* a post, lesson or quiz reads as one centred column (--col); the cover and a simulation run wider,
   the "More" cards use the full width */
.post { --col: 720px; }
.post__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7, 48px); }
.post .post__head { max-width: var(--col); margin-inline: auto; }
.post :is(.prose, .post__ask, .quiz, .quiz-intro) { max-width: var(--col); margin-inline: auto; }
.post .sim { max-width: 1000px; margin-inline: auto; }
.post__cover img { display: block; max-width: 1120px; margin-inline: auto; }
.post__back { display: inline-flex; align-items: center; gap: var(--s-2); width: fit-content; font-size: var(--t-small); font-weight: 500; color: var(--muted); text-decoration: none; margin-bottom: var(--s-3); }
.post__back svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.post__back:hover { color: var(--ink); }
.post__back:hover svg { transform: translateX(-3px); }
.post__title { margin: 0; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.75rem); line-height: 1.08; text-wrap: balance; }
.post__lead { margin: 0; font-size: var(--t-lead); line-height: 1.5; color: var(--ink); max-width: 62ch; }
.post__byline { display: flex; flex-wrap: wrap; gap: var(--s-1, 4px) var(--s-4); margin: var(--s-2) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--muted); }
.post__byline > :first-child { color: var(--ink); font-weight: 500; }
.post__cover { margin-bottom: var(--s-8, 64px); }
.post__cover img { width: 100%; max-height: 72vh; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg, 16px); }

/* the article text: one comfortable column */
.prose { font-size: 1.125rem; line-height: 1.7; }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1.15em; }
.prose :is(h2, h3) { scroll-margin-top: calc(var(--nav, 72px) + 24px); }
.prose h2 { margin-top: 2.2em; font-size: var(--t-h3); line-height: 1.2; }
.prose h3 { margin-top: 1.8em; font: 500 var(--t-card)/1.3 var(--font-text); }
.prose :is(h2, h3) + * { margin-top: .6em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose :is(ul, ol) { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { padding: var(--s-2) 0 var(--s-2) var(--s-5); border-left: 3px solid var(--accent); font: italic 400 1.35rem/1.5 var(--font-display); color: var(--ink); }
.prose blockquote > * { margin: 0; }
.prose img { display: block; width: 100%; height: auto; border-radius: var(--r-md, 12px); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.prose code { font: .9em/1.4 var(--font-mono); padding: .1em .35em; border-radius: 6px; background: var(--surface); }
.prose pre { padding: var(--s-4); border-radius: var(--r-md, 12px); background: var(--surface); overflow-x: auto; }
.prose pre code { padding: 0; background: none; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95em; display: block; overflow-x: auto; }
.prose :is(th, td) { padding: .5em .75em; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-weight: 500; }
/* maths: a wide formula scrolls on its own, never the page */
.prose .katex-display { margin: 0; padding: var(--s-4) var(--s-5); border-radius: var(--r-md, 12px); background: var(--surface); overflow-x: auto; overflow-y: hidden; }
.prose .katex { font-size: 1.08em; }

.post__ask { margin-top: var(--s-8, 64px); padding: var(--s-6, 32px); border-radius: var(--r-lg, 16px); background: var(--surface); display: grid; gap: var(--s-3); justify-items: start; }
.post__ask h2, .post__ask p { margin: 0; }
.post__ask .btn { margin-top: var(--s-2); }

.post__more { margin-top: var(--s-8, 64px); padding-top: var(--s-7, 48px); border-top: 1px solid var(--line); }
/* "More" sits in the article's column too: one card fills it, two share it, never one card beside a gap */
.post .post__more { border-top: 0; padding-top: 0; }
.post .post__more > * { max-width: var(--col); margin-inline: auto; }
.post .post__more > .section-head { padding-top: var(--s-7, 48px); border-top: 1px solid var(--line); }
.post .post__more :is(.post-grid, .hub-grid) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.post__more .section-head { margin-bottom: var(--s-6, 32px); }
.post__more h2 { margin: 0; }

/* the nav: Blog marked on blog pages */
.nav__link.is-page { color: var(--accent); }
/* one line per word: a word that already carries the page line (Blog, Learning Hub) or the scroll
   underline (the home page's current section) does not draw the hover line on top of it */
.nav__link:is([aria-current="page"], .is-current)::before { display: none; }

@media (max-width: 639px) {
  main.page { padding-top: calc(var(--nav, 64px) + var(--s-6, 32px)); }
  .post__cover img { border-radius: var(--r-md, 12px); aspect-ratio: 4 / 3; }
  .prose { font-size: 1.0625rem; }
  .post__ask { padding: var(--s-5); }
  .lang-tabs__rss { margin-left: 0; width: 100%; }
}

/* the About panel: three short columns, lighter than the kit's full mega panel */
.nav__item--about .nav__menu { padding: var(--s-6, 40px) 0 var(--s-7, 48px); box-shadow: 0 24px 40px -32px rgb(42 38 34 / .35); }
.nav__item--about .menu-col a { padding: var(--s-2) 0; }
/* the nav's links row is the nav underline's frame (position: relative), so the panel is pinned to the window instead */
@media (min-width: 1024px) { .nav__item--about .nav__menu { position: fixed; top: var(--nav, 72px); left: 0; right: 0; } }
@media (max-width: 1023px) { .nav.is-open .menu-col--learn { display: none; } .nav.is-open .menu-col .t-label { display: none; } }

/* inner pages (blog, hub): the closing footer is as tall as its content, not a whole screen */
html body > footer.closing.closing--page { height: auto; min-height: 0; }
html body > footer.closing.closing--page > .wrap { height: auto; }
html body > footer.closing.closing--page .closing__links { margin-top: var(--s-8, 64px); }

/* ============================================================ the Learning Hub */
/* filters: one row per group (subject, level, type), shown once the script runs */
.hub-filters { display: grid; gap: var(--s-3); margin-bottom: var(--s-6, 40px); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.hub-filters[hidden] { display: none; }
.hub-filters__group { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.hub-filters__label { width: 72px; font-size: var(--t-small); color: var(--muted); }
.hub-filters__count { margin: var(--s-2) 0 0; font-size: var(--t-small); color: var(--muted); }
.hub-filters .lang-tab { height: 36px; font: inherit; font-weight: 500; background: transparent; cursor: pointer; }
.hub-filters .lang-tab.is-on { background: var(--ink); color: var(--bg); }
@media (max-width: 639px) { .hub-filters__label { width: 100%; } }

.hub-grid { display: grid; gap: var(--gap, 24px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hub-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1023px) { .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .hub-grid, .hub-grid--two { grid-template-columns: 1fr; } }

.card.hub-card { --kind: var(--accent); position: relative; display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); background: var(--card); min-height: 260px; }
.hub-card--quiz { --kind: #2f6b5a; }
.hub-card--resource { --kind: #8a6a1f; }
.hub-card[hidden] { display: none; }
.hub-card__kind { display: flex; align-items: center; gap: var(--s-2); margin: 0; font-size: var(--t-small); font-weight: 500; color: var(--kind); }
.hub-card__mark { width: 10px; height: 10px; border-radius: 3px; background: var(--kind); }
.hub-card--quiz .hub-card__mark { border-radius: 50%; }
.hub-card--resource .hub-card__mark { border-radius: 0; clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%); }
.hub-card__topic { margin-left: auto; color: var(--muted); font-weight: 400; }
.hub-card__title { margin: 0; }
.hub-card__title a { color: inherit; text-decoration: none; }
.hub-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hub-card__title a:focus-visible { outline: none; }
.hub-card:has(.hub-card__title a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.hub-card__summary { margin: 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hub-card__meta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: auto 0 0; padding-top: var(--s-3); font-size: var(--t-small); color: var(--muted); }
.hub-card__meta > span { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: color-mix(in oklab, var(--kind) 10%, transparent); color: var(--ink); }
.hub-card__date { display: none; }
.hub-card__go { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 500; color: var(--kind); }
.hub-card__go::after { content: "\2192"; transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.hub-card:hover .hub-card__go::after { transform: translateX(3px); }

/* a PhET simulation inside a lesson */
.sim { max-width: 1000px; margin: var(--s-8, 64px) 0 0; display: grid; gap: var(--s-3); }
.sim__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2) var(--s-5); }
.sim__head h2 { margin: 0; }
.sim__frame { position: relative; aspect-ratio: 1024 / 618; border-radius: var(--r-lg, 16px); overflow: hidden; background: #000; border: 1px solid var(--line); }
.sim__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sim__credit { margin: 0; font-size: var(--t-small); color: var(--muted); }
.sim__credit a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 639px) { .sim__frame { aspect-ratio: 4 / 3; border-radius: var(--r-md, 12px); } }

.lesson__quiz { border: 1px solid color-mix(in oklab, #2f6b5a 30%, transparent); background: color-mix(in oklab, #2f6b5a 7%, var(--bg)); }
.lesson__quiz .eyebrow { color: #2f6b5a; }

/* ------------------------------------------------------------ a quiz */
.quiz-intro { margin-bottom: var(--s-6, 40px); }
.quiz__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
.quiz__q fieldset { margin: 0; padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg, 16px); background: var(--card); min-width: 0;
  transition: border-color 200ms ease, background-color 200ms ease; }
.quiz__q legend { display: contents; }
.quiz__n { display: block; font-size: var(--t-small); color: var(--muted); margin-bottom: var(--s-2); }
.quiz__prompt { display: block; font: 400 var(--t-lead)/1.45 var(--font-text); color: var(--ink); margin-bottom: var(--s-4); }
.quiz__prompt p { margin: 0 0 .5em; }
.quiz__options { display: grid; gap: var(--s-2); }
.quiz__options--row { grid-template-columns: repeat(2, minmax(0, 200px)); }
.quiz__opt { display: flex; align-items: center; gap: var(--s-3); min-height: 48px; padding: var(--s-2) var(--s-4); border: 1px solid var(--line-strong); border-radius: var(--r-md, 12px); cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.quiz__opt:hover { border-color: var(--ink); }
.quiz__opt:active { transform: scale(0.99); }
.quiz__opt:has(input:checked) { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 8%, transparent); }
.quiz__opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.quiz__opt input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--accent); }
.quiz__opt:has(input:disabled) { cursor: default; }
.quiz__num { display: inline-flex; align-items: center; gap: var(--s-3); }
.quiz__num input { width: 160px; height: 48px; padding: 0 var(--s-4); border: 1px solid var(--line-strong); border-radius: var(--r-md, 12px); font: 500 1.125rem/1 var(--font-text); background: var(--bg); color: var(--ink); font-variant-numeric: tabular-nums; }
.quiz__num input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.quiz__unit { font-weight: 500; }

/* marked */
.quiz__q.is-right fieldset { border-color: #2f6b5a; background: color-mix(in oklab, #2f6b5a 6%, var(--card)); }
.quiz__q.is-wrong fieldset { border-color: #a5432c; background: color-mix(in oklab, #a5432c 5%, var(--card)); }
.quiz__q .quiz__opt.is-key { border-color: #2f6b5a; background: color-mix(in oklab, #2f6b5a 10%, transparent); }
.quiz__q.is-wrong .quiz__opt:has(input:checked):not(.is-key) { border-color: #a5432c; background: color-mix(in oklab, #a5432c 8%, transparent); }
.quiz__feedback { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); display: grid; gap: var(--s-2); }
.quiz__feedback[hidden] { display: none; }
.quiz__feedback > * { margin: 0; }
.quiz__verdict { font-weight: 600; }
.quiz__verdict::before { display: inline-block; width: 1.4em; }
.is-right .quiz__verdict { color: #2f6b5a; }
.is-right .quiz__verdict::before { content: "\2713"; }
.is-wrong .quiz__verdict { color: #a5432c; }
.is-wrong .quiz__verdict::before { content: "\2715"; }
.is-right .quiz__answer { display: none; }
.quiz__explain { color: var(--muted); }
.quiz__explain p { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .quiz__feedback:not([hidden]) { animation: quiz-in 320ms cubic-bezier(0.23, 1, 0.32, 1) both; }
}
@keyframes quiz-in { from { opacity: 0; transform: translateY(-4px); } }
.quiz__bar { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5);
  margin-top: var(--s-5); padding: var(--s-4) 0 calc(var(--s-4) + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, var(--bg) 75%, transparent); }
.quiz__result { margin: 0; font-weight: 500; outline: none; }
.quiz__result.is-warn { color: #a5432c; }
.quiz__result.is-all { color: #2f6b5a; }
.quiz__bar .btn-row { margin-left: auto; }
.quiz-page .post__ask { margin-top: var(--s-7, 48px); }
@media (max-width: 639px) {
  .quiz__q fieldset { padding: var(--s-4); }
  .quiz__options--row { grid-template-columns: 1fr 1fr; }
}

/* ============================================================ research and publications */
.research { align-content: center; }
.research__head { align-self: start; align-content: start; }
.research__head p { max-width: 36ch; }
.research__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.research-item { --st: #2f6b5a; position: relative; display: grid; gap: var(--s-3); padding: var(--s-5) var(--s-6, 32px); border: 1px solid var(--line); border-radius: var(--r-lg, 16px); background: var(--card); }
.research-item--ongoing { --st: #8a6a1f; }
.research-item__status { display: inline-flex; align-items: center; gap: var(--s-2); margin: 0; font-size: var(--t-small); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--st); }
.research-item__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--st); box-shadow: 0 0 0 4px color-mix(in oklab, var(--st) 16%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .research-item--ongoing .research-item__dot { animation: research-pulse 2.4s ease-in-out infinite; }
}
@keyframes research-pulse { 50% { box-shadow: 0 0 0 7px color-mix(in oklab, var(--st) 6%, transparent); } }
.research-item__title { margin: 0; font: 400 var(--t-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking, -0.01em); text-wrap: balance; }
.research-item__title a { color: inherit; text-decoration: none; }
.research-item__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.research-item__meta { margin: 0; font-size: var(--t-small); color: var(--muted); }
.research-item__abstract { margin-top: var(--s-2); padding: var(--s-4) var(--s-5); border-left: 2px solid var(--st); background: color-mix(in oklab, var(--st) 5%, transparent); border-radius: 0 var(--r-md, 12px) var(--r-md, 12px) 0; }
.research-item__abstract p { margin: 0; color: var(--ink); line-height: 1.6; }
.research-item__abstract .research-item__label { margin-bottom: var(--s-2); font-size: var(--t-small); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.research-item__note { margin: 0; color: var(--muted); }
.research-item__links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6, 32px); margin: var(--s-1, 4px) 0 0; }
.degree-research { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.degree-research:hover { text-decoration-color: currentColor; }
@media (max-width: 1023px) { .research__list { grid-column: 1 / -1; } .research { align-content: start; } }
@media (max-width: 639px) { .research-item { padding: var(--s-4); } .research-item__abstract { padding: var(--s-3) var(--s-4); } }

/* a research page: abstract on top, the paper's facts, then the paper itself */
.research-page__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
.research-status { font-weight: 600; }
.research-status--completed, .research-status--published { background: color-mix(in oklab, #2f6b5a 14%, transparent) !important; color: #2f6b5a !important; }
.research-status--ongoing { background: color-mix(in oklab, #8a6a1f 14%, transparent) !important; color: #8a6a1f !important; }
.post .abstract { max-width: var(--col); margin: 0 auto; padding: var(--s-6, 32px); border-radius: var(--r-lg, 16px); background: var(--surface); border-left: 3px solid #2f6b5a; }
.abstract__label { margin: 0 0 var(--s-3); font: 600 var(--t-small)/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.abstract__text p { margin: 0; font: 400 1.2rem/1.65 var(--font-display); color: var(--ink); }
.abstract__text p + p { margin-top: 1em; }
.post .research-page__actions { max-width: var(--col); margin: var(--s-6, 32px) auto 0; }
.post .research-page__facts { max-width: var(--col); margin: var(--s-7, 48px) auto 0; }
.research-page__facts > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-1) var(--s-5); padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
.research-page__facts :is(dt, dd) { margin: 0; }
.research-page__facts .rows__value { white-space: normal; }
.post .research-page__viewer { max-width: 1000px; margin: var(--s-8, 64px) auto 0; height: min(90vh, 1100px); border: 1px solid var(--line); border-radius: var(--r-lg, 16px); overflow: hidden; background: var(--surface); }
.research-page__viewer object { display: block; width: 100%; height: 100%; }
.research-page__viewer p { padding: var(--s-6, 32px); }
@media (max-width: 767px) { .post .research-page__viewer { display: none; } .post .abstract { padding: var(--s-5); } .abstract__text p { font-size: 1.08rem; } }
