/*!
 * jmc-content.css: page styles for the content area (owned by one builder). Builds on jmc.css tokens and classes.
 * Pages: CMS pages, about, leadership message, notice/news/blog lists + article, search results, top notice, feature,
 * contact, gallery + lightbox, error pages. Every class is prefixed `c-`.
 */

/* ---------- Article column (CMS pages, notices, news, features) ---------- */
.c-article { min-width: 0; }
.c-article__title { margin-bottom: .8em; }
.c-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0 0 24px; padding-bottom: 18px; border-bottom: 1px solid var(--j-line); color: var(--j-muted); font-size: .95rem; }
.c-article__date { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; color: var(--j-ink); font-weight: 600; }
.c-article__date .j-ico, .c-article__fact .j-ico { color: var(--j-royal); }
.c-article__alt { color: var(--j-muted); font-weight: 400; }
.c-article__alt::before { content: "·"; margin-right: 8px; color: var(--j-line-strong); }
.c-article__fact { display: inline-flex; align-items: center; gap: 6px; }
.c-article__body { max-width: 72ch; }
.c-article__back { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid var(--j-line); }

/* links to documents inside staff-written text get a file mark so attachments stand out */
.c-article__body a[href$=".pdf" i], .c-article__body a[href*=".pdf?" i], .c-article__body a[href$=".doc" i], .c-article__body a[href$=".docx" i] {
    display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 8px; margin: 2px 0; border: 1px solid var(--j-line); border-radius: var(--j-radius);
    background: var(--j-paper-2); text-decoration: none; font-weight: 600;
}
.c-article__body a[href$=".pdf" i]::before, .c-article__body a[href*=".pdf?" i]::before, .c-article__body a[href$=".doc" i]::before, .c-article__body a[href$=".docx" i]::before {
    content: ""; width: 14px; height: 16px; flex: none; border: 1.6px solid currentColor; border-radius: 2px 5px 2px 2px; opacity: .8;
}
.c-article__body a[href$=".pdf" i]:hover, .c-article__body a[href*=".pdf?" i]:hover { border-color: var(--j-action); background: var(--j-tint); }

/* Figures: natural ratio (scanned notices must stay readable, never cropped) */
.c-figure { margin: 0 0 28px; }
.c-figure__link { display: block; border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); overflow: hidden; background: var(--j-paper-2); }
.c-figure__link img { display: block; width: 100%; height: auto; max-height: 1100px; object-fit: contain; margin: 0 auto; }
.c-figure figcaption { margin-top: 10px; font-size: .9rem; }
.c-figure figcaption a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.c-figure--banner img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: var(--j-radius-lg); background: var(--j-tint); }

/* CMS text pasted from Word carries its own fonts, point sizes, justification and white highlight; the site type takes over
   (colours, bold and italics stay as staff wrote them) */
.c-cms [style*="font-family"] { font-family: inherit !important; }
.c-cms :is(p, span, div, li, td, font)[style*="font-size"], .c-cms font[size] { font-size: inherit !important; }
.c-cms [style*="text-align:justify"], .c-cms [style*="text-align: justify"] { text-align: start !important; }
.c-cms [style*="line-height"] { line-height: inherit !important; }
.c-cms [style*="background-color:white"], .c-cms [style*="background-color: white"], .c-cms [style*="background-color:#ffffff"], .c-cms [style*="background-color: #ffffff"] { background-color: transparent !important; }
.c-cms [style*="width:100%"] img, .c-cms img[style*="width:100%"] { width: 100%; }

.c-empty__btns { justify-content: center; margin-top: 18px; }
.j-empty .j-ico { display: inline-block; }

/* Small post list in sidebars */
.c-mini { list-style: none; margin: 0; padding: 0; display: grid; }
.c-mini__item { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--j-line); }
.c-mini__item:first-child { padding-top: 2px; }
.c-mini__item:last-child { border-bottom: 0; padding-bottom: 0; }
.c-mini__media { border-radius: var(--j-radius); }
.c-mini__body { display: grid; gap: 4px; min-width: 0; }
.c-mini__title { color: var(--j-ink); font-weight: 600; font-size: .95rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-mini__title::after { content: ""; position: absolute; inset: 0; }
.c-mini__title:hover { color: var(--j-action); text-decoration: underline; }
.c-mini__date { color: var(--j-muted); font-size: .85rem; }
.c-mini--icons .c-mini__item { grid-template-columns: 44px minmax(0, 1fr); align-items: center; }
.c-mini__icon { width: 44px; height: 44px; border-radius: var(--j-radius); background: var(--j-tint); display: grid; place-items: center; overflow: hidden; }
.c-mini__icon img { width: 30px; height: 30px; object-fit: contain; }

/* ---------- Lists: notices / news / blogs ---------- */
.c-count { margin: 0 0 14px; color: var(--j-muted); font-size: .95rem; }
.c-count strong { color: var(--j-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.c-ledger .j-ledger__item { padding-block: 18px; }
.c-ledger .j-ledger__meta span:not(.j-chip) { overflow-wrap: anywhere; }
.c-narrow { max-width: 920px; }
.c-textcol > * { max-width: 860px; }
.c-ledger--aside { border-top: 0; }
.c-ledger--aside .j-ledger__item:last-child { border-bottom: 0; }
.c-ledger--aside .j-ledger__title { font-size: .95rem; }

.c-lead { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 44px); align-items: center; padding-bottom: clamp(28px, 3.5vw, 44px); margin-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--j-line); }
.c-lead__media { border-radius: var(--j-radius-lg); }
.c-lead__media img { transition: transform .6s var(--j-ease-out); }
.c-lead:hover .c-lead__media img { transform: scale(1.03); }
.c-lead__body { display: grid; gap: 14px; min-width: 0; }
.c-lead__title { margin: 0; font-size: clamp(1.4rem, 1.2rem + .9vw, 2rem); line-height: 1.25; }
.c-lead__title a { color: var(--j-ink); }
.c-lead__title a::after { content: ""; position: absolute; inset: 0; }
.c-lead__title a:hover { color: var(--j-action); }
.c-lead__text { margin: 0; color: var(--j-text); font-size: 1.05rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.c-lead__meta { font-size: .9rem; }
.c-row__meta { font-size: .88rem; gap: 6px 14px; }
.c-rows .j-row:last-child { border-bottom: 0; }
@media (max-width: 900px) { .c-lead { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Leadership message ---------- */
.c-message { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.c-message__portrait { margin: 0; position: sticky; top: calc(var(--j-header-h) + 24px); }
.c-message__portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: var(--j-radius-lg); background: var(--j-tint-2); }
.c-message__portrait figcaption { margin-top: 16px; padding-left: 14px; border-left: 3px solid var(--j-royal); display: grid; gap: 2px; }
.c-message__name { font-family: var(--j-font); font-weight: 700; font-size: 1.15rem; color: var(--j-ink); line-height: 1.35; }
.c-message__role { color: var(--j-muted); font-size: .95rem; }
.c-message__text { font-size: 1.1rem; }
@media (max-width: 860px) {
    .c-message { grid-template-columns: minmax(0, 1fr); }
    .c-message__portrait { position: static; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; }
    .c-message__portrait figcaption { margin-top: 0; }
}

/* ---------- About ---------- */
.c-about__status { margin: 28px 0 0; }
.c-about__purpose { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.c-about__purpose > :only-child { grid-column: 1 / -1; }
.c-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.c-pillars__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; background: #fff; border: 1px solid var(--j-tint-2); border-radius: var(--j-radius-lg); padding: 18px 20px; }
.c-pillars__num { font-family: var(--j-font); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--j-royal); padding-top: 3px; font-variant-numeric: lining-nums; }
.c-pillars__text { font-weight: 600; color: var(--j-ink); font-size: 1rem; }
.c-pillars__text > :last-child { margin-bottom: 0; }
.c-about__blocks { display: grid; gap: clamp(48px, 6vw, 88px); }
.c-about__block { align-items: center; }
.c-about__block--flip .c-about__media { order: -1; }
.c-about__media .j-media { border-radius: var(--j-radius-lg); aspect-ratio: 4 / 3; }
.c-team th[scope="row"] { background: transparent; font-weight: 600; color: var(--j-ink); white-space: normal; border-bottom: 1px solid var(--j-line); }
.c-team tr:last-child th[scope="row"] { border-bottom: 0; }
.c-team__person { display: inline-flex; align-items: center; gap: 12px; }
.c-team__person img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--j-tint-2); flex: none; }
@media (max-width: 900px) {
    .c-about__purpose { grid-template-columns: minmax(0, 1fr); }
    .c-about__block--flip .c-about__media { order: 0; }
}
@media (max-width: 520px) { .c-pillars { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Search form (results page, 404) ---------- */
.c-search { display: grid; gap: 8px; max-width: 720px; margin: 0 0 clamp(28px, 3vw, 40px); }
.c-search__field { display: flex; gap: 10px; }
.c-search__field .j-input { flex: 1; min-width: 0; }
@media (max-width: 480px) { .c-search__field { flex-direction: column; } }

/* ---------- Contact ---------- */
.c-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "details form" "map form"; grid-template-rows: auto 1fr; gap: 28px clamp(28px, 4vw, 56px); align-items: start; }
.c-contact__details { grid-area: details; }
.c-contact__form { grid-area: form; }
.c-contact .c-map { grid-area: map; margin-top: 0; }
.c-contact__heading { margin-bottom: 18px; }
.c-facts { margin: 0; display: grid; border-top: 1px solid var(--j-line); }
.c-facts__row { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--j-line); }
.c-facts dt { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--j-muted); }
.c-facts dt .j-ico { color: var(--j-royal); }
.c-facts dd { margin: 0; font-size: 1.08rem; color: var(--j-ink); font-weight: 500; overflow-wrap: anywhere; }
.c-facts dd a { color: var(--j-action); }
.c-facts dd a:hover { text-decoration: underline; }
.c-contact__form .j-h3 { margin-bottom: 4px; }
.c-contact__note { display: block; margin: 0 0 20px; }
.c-contact__form input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.c-contact__form input[type="number"]::-webkit-inner-spin-button, .c-contact__form input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.c-contact__form .g-recaptcha { max-width: 100%; overflow: hidden; }
.c-map { margin-top: clamp(32px, 4vw, 52px); border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); overflow: hidden; background: var(--j-tint); line-height: 0; }
.c-map iframe { display: block; width: 100%; height: 300px; }
@media (max-width: 900px) { .c-contact { grid-template-columns: minmax(0, 1fr); grid-template-areas: "details" "form" "map"; grid-template-rows: auto; } }
.c-alert { margin-bottom: 24px; }

/* ---------- Gallery + lightbox ---------- */
.c-albums { list-style: none; margin: 0; padding: 0; }
.c-albums .j-album__title { font-size: 1.1rem; margin-bottom: 2px; }
.c-gallery { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.c-gallery a { cursor: zoom-in; }
.c-gallery a:focus-visible { outline-offset: 3px; }
@media (max-width: 520px) { .c-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

.c-lb { position: fixed; inset: 0; z-index: 1400; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: var(--j-paper-2); animation: j-fade .2s var(--j-ease); }
.c-lb[hidden] { display: none; }
.c-lb__stage { display: grid; place-items: center; padding: clamp(16px, 3vw, 40px) clamp(12px, 3vw, 40px) 8px; min-height: 0; }
.c-lb__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--j-radius); box-shadow: 0 18px 50px -24px rgba(18, 48, 106, .45); background: #fff; opacity: 0; transition: opacity .25s var(--j-ease); }
.c-lb__img.is-ready { opacity: 1; }
.c-lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 3vw, 40px) 20px; }
.c-lb__count { margin: 0; color: var(--j-muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.c-lb__controls { display: flex; gap: 8px; }
.c-lb__btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 8px; border: 1.5px solid var(--j-line-strong); background: #fff; color: var(--j-blue); cursor: pointer; padding: 0; }
.c-lb__btn:hover { border-color: var(--j-blue); background: var(--j-tint); }
.c-lb__btn .j-ico { width: 20px; height: 20px; }
.c-lb__btn--close { background: var(--j-blue); border-color: var(--j-blue); color: #fff; }
.c-lb__btn--close:hover { background: #1c4590; border-color: #1c4590; }

/* ---------- Error pages ---------- */
.c-error__code { display: block; font-family: var(--j-font); font-weight: 700; font-size: clamp(3.4rem, 2.4rem + 4vw, 6rem); line-height: .9; color: var(--j-royal); letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.c-error__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.c-error__grid > :only-child { grid-column: 1 / -1; }
.c-error__main { display: grid; gap: 24px; align-content: start; }
.c-error__main .c-search { margin: 0; }
.c-error__help { margin: 0; color: var(--j-muted); }
.c-error__link { display: inline-flex; align-items: center; gap: 10px; }
.c-error__link .j-ico { color: var(--j-royal) !important; transform: none !important; }
@media (max-width: 900px) { .c-error__grid { grid-template-columns: minmax(0, 1fr); } }
.c-error-page { min-height: 100vh; display: flex; flex-direction: column; }
.c-error-page main { flex: 1; }
.c-error-page__bar { border-bottom: 1px solid var(--j-line); background: #fff; }
.c-error-page__bar .j-container { display: flex; align-items: center; min-height: 76px; }
.c-error-page__logo img { display: block; height: 48px; width: auto; }
.c-error-page__foot { border-top: 1px solid var(--j-line); color: var(--j-muted); font-size: .9rem; }
.c-error-page__foot p { margin: 0; padding: 20px 0; }

/* =====================================================================================================
   ROUND 3 refinement (2026-12-03): content pages brought up to the homepage's bar. Hairline structure at rest,
   shadow + small lift on hover, royal accents (no gold), 16px cards / 12px small elements / 24px panels.
   Shared classes are only restyled inside `c-` scopes so other areas are untouched.
   ===================================================================================================== */
:root {
    --c-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232450d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
    --c-arrow-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* ---- sidebar post list: ink titles (the global link colour was turning them blue) ---- */
.j-site .c-mini__title { color: var(--j-ink); font-weight: 650; }
.j-site .c-mini__title:hover { color: var(--j-royal); text-decoration: none; }
.c-mini__item .j-media img { transition: transform .5s var(--j-ease-out); }
.c-mini__item:hover .j-media img { transform: scale(1.06); }
.c-mini__media { border-radius: 12px; }
.c-mini__icon { border-radius: 12px; background: var(--j-sky); }
.c-mini--icons .c-mini__item { padding-block: 10px; }

/* ---- empty states: the arrow in a .j-more link was picking up the 40px empty-state icon size ---- */
.j-empty .j-more .j-ico { width: 30px; height: 30px; margin: 0; }
.j-empty h2 { letter-spacing: -0.02em; }

/* ---- article (notice / news / blog / feature / CMS page) ---- */
.c-article__meta { gap: 10px 20px; padding-bottom: 20px; margin-bottom: 28px; }
.c-article__date { font-weight: 700; }
.c-article__date .j-ico, .c-article__fact .j-ico { width: 18px; height: 18px; }
.c-figure__link { border-radius: var(--j-radius-lg); transition: box-shadow .3s var(--j-ease), border-color .3s; }
.c-figure__link:hover { border-color: var(--j-line-strong); box-shadow: var(--j-shadow-card); }
.c-figure__link img { transition: transform .6s var(--j-ease-out); }
.c-figure__link:hover img { transform: scale(1.015); }
.c-figure figcaption { margin-top: 12px; }
.c-figure--banner img { border-radius: var(--j-radius-lg); }
.c-article__back { margin-top: 44px; padding-top: 24px; }
.c-article--page .c-cms > p:first-child:not(:has(img)), .c-article--page .c-cms > p:first-child:has(img) + p { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.3rem); line-height: 1.65; }
.j-layout-side__aside .j-aside-box { padding: 24px; }

/* ---- notice ledger: hairline cards with a date tile and an arrow ---- */
.c-ledger { border-top: 0; display: grid; gap: 12px; }
.c-ledger .j-ledger__item { grid-template-columns: 76px minmax(0, 1fr) 40px; gap: 22px; align-items: center; padding: 16px 20px 16px 16px; background: #fff; border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); transition: border-color .3s var(--j-ease), box-shadow .35s var(--j-ease), transform .35s var(--j-ease-out); }
.c-ledger .j-ledger__item::after { content: ""; width: 40px; height: 40px; border-radius: 50%; background: var(--j-sky) var(--c-arrow) center / 18px no-repeat; transition: background-color .25s var(--j-ease), transform .3s var(--j-ease-out); }
.c-ledger .j-ledger__item:hover { background: #fff; border-color: var(--j-line-strong); box-shadow: var(--j-shadow-card); transform: translateY(-2px); }
.c-ledger .j-ledger__item:hover::after { background: var(--j-royal) var(--c-arrow-w) center / 18px no-repeat; transform: translateX(2px); }
.c-ledger .j-ledger__date { width: 76px; height: 76px; padding: 0; align-self: center; background: var(--j-sky); border: 1px solid var(--j-sky-2); border-radius: 14px; }
.c-ledger .j-ledger__day { font-size: 1.8rem; color: var(--j-blue); }
.c-ledger .j-ledger__mon { margin-top: 5px; font-size: .7rem; font-weight: 700; letter-spacing: .05em; color: var(--j-blue); white-space: nowrap; }
.c-ledger .j-ledger__body { gap: 6px; }
.j-site .c-ledger .j-ledger__title { font-size: 1.08rem; line-height: 1.45; font-weight: 650; }
.c-ledger .j-ledger__title a:hover { color: var(--j-royal); text-decoration: none; }
.c-ledger .j-ledger__meta { gap: 4px 16px; font-size: .86rem; }
.c-ledger .j-ledger__meta > :not(:first-child):not(.j-chip) { position: relative; }
.c-ledger .j-ledger__meta > :not(:first-child):not(.j-chip)::before { content: ""; position: absolute; left: -9px; top: 50%; width: 3px; height: 3px; margin-top: -2px; border-radius: 50%; background: var(--j-muted); opacity: .6; }
.c-ledger + .pagination, .c-ledger ~ nav .pagination { margin-top: 36px; }
@media (max-width: 640px) {
    .c-ledger .j-ledger__item { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; padding: 14px; align-items: start; }
    .c-ledger .j-ledger__item::after { content: none; }
    .c-ledger .j-ledger__date { width: 60px; height: 64px; }
    .c-ledger .j-ledger__day { font-size: 1.45rem; }
    .c-ledger .j-ledger__mon { font-size: .64rem; letter-spacing: .02em; }
    .j-site .c-ledger .j-ledger__title { font-size: 1rem; }
}
/* compact ledger in the article sidebar: plain hairline rows (rounded rows bent the dividers) */
.c-ledger--aside .j-ledger__item { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-radius: 0; }
.c-ledger--aside .j-ledger__item:first-child { padding-top: 2px; }
.c-ledger--aside .j-ledger__item:hover { background: transparent; }
.c-ledger--aside .j-ledger__date { height: 58px; align-self: start; background: var(--j-sky); border-color: var(--j-sky-2); border-radius: 12px; }
.c-ledger--aside .j-ledger__day { font-size: 1.3rem; }
.c-ledger--aside .j-ledger__mon { font-size: .62rem; letter-spacing: .02em; margin-top: 3px; color: var(--j-blue); }
.j-site .c-ledger--aside .j-ledger__title { font-size: .95rem; font-weight: 650; }
.c-ledger--aside .j-ledger__title a:hover { color: var(--j-royal); text-decoration: none; }

/* ---- news / blog lists: lead story + card grid ---- */
.c-lead { padding: 0 0 clamp(36px, 4vw, 56px); margin-bottom: clamp(36px, 4vw, 56px); gap: clamp(24px, 4vw, 64px); }
.c-lead__media { border-radius: var(--j-radius-xl); aspect-ratio: 16 / 10; }
.c-lead__body { gap: 16px; }
.j-site .c-lead__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.15; letter-spacing: -0.03em; font-weight: 800; }
.j-site:lang(ne) .c-lead__title { line-height: 1.4; letter-spacing: 0; font-weight: 700; }
.c-lead__title a:hover { color: var(--j-royal); }
.c-lead__text { color: var(--j-muted); font-size: 1.08rem; line-height: 1.7; }
.c-lead__go { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-top: 4px; border-radius: 50%; background: var(--j-sky); color: var(--j-royal); transition: background-color .25s var(--j-ease), color .25s, transform .3s var(--j-ease-out); }
.c-lead__go .j-ico { width: 20px; height: 20px; }
.c-lead:hover .c-lead__go { background: var(--j-royal); color: #fff; transform: translateX(4px); }

.c-posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.2vw, 32px); }
.c-post { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); overflow: hidden; transition: transform .4s var(--j-ease-out), box-shadow .4s var(--j-ease), border-color .3s; }
.c-post:hover { transform: translateY(-3px); box-shadow: var(--j-shadow-card); border-color: var(--j-line-strong); }
.c-post .c-post__media { aspect-ratio: 16 / 10; border-radius: 0; }
.c-post .c-post__media img { transition: transform .7s var(--j-ease-out); }
.c-post:hover .c-post__media img { transform: scale(1.05); }
.c-post__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.c-post__meta { font-size: .86rem; gap: 6px 14px; }
.j-site .c-post__title { margin: 0; font-size: 1.18rem; line-height: 1.32; font-weight: 700; letter-spacing: -0.018em; color: var(--j-ink); }
.j-site:lang(ne) .c-post__title { line-height: 1.5; letter-spacing: 0; }
.c-post__title a { color: inherit; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-post__title a::after { content: ""; position: absolute; inset: 0; }
.c-post__title a:hover { color: var(--j-royal); }
.c-post__text { margin: 0; color: var(--j-muted); font-size: .97rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-post__extras { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--j-line); font-size: .85rem; gap: 6px 14px; }
.c-post__extras span { min-width: 0; overflow-wrap: anywhere; }
.c-post .j-chip { max-width: 100%; white-space: normal; line-height: 1.35; }
@media (max-width: 1024px) { .c-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .c-posts { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .c-post__body { padding: 18px 18px 20px; }
    .c-lead__media { border-radius: var(--j-radius-lg); }
}

/* ---- search results + other row lists ---- */
.c-rows { gap: 0; }
.c-rows .j-row { grid-template-columns: 220px minmax(0, 1fr) 44px; gap: 20px 32px; padding: 26px 0; align-items: center; }
.c-rows .j-row::after { content: ""; width: 44px; height: 44px; border-radius: 50%; background: var(--j-sky) var(--c-arrow) center / 18px no-repeat; transition: background-color .25s var(--j-ease), transform .3s var(--j-ease-out); }
.c-rows .j-row:hover::after { background: var(--j-royal) var(--c-arrow-w) center / 18px no-repeat; transform: translateX(3px); }
.c-rows .j-row:first-child { padding-top: 6px; }
.c-rows .j-row .j-media { aspect-ratio: 3 / 2; border-radius: 14px; }
.c-rows .j-row .j-media img { transition: transform .6s var(--j-ease-out); }
.c-rows .j-row:hover .j-media img { transform: scale(1.05); }
.j-site .c-rows .j-row__title { font-size: clamp(1.2rem, 1.05rem + .4vw, 1.45rem); line-height: 1.25; letter-spacing: -0.022em; font-weight: 750; }
.j-site:lang(ne) .c-rows .j-row__title { line-height: 1.45; letter-spacing: 0; }
.c-rows .j-row__title a:hover { color: var(--j-royal); }
.c-rows .j-row__text { max-width: 72ch; line-height: 1.65; }
@media (max-width: 640px) {
    .c-rows .j-row { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 18px 0; align-items: start; }
    .c-rows .j-row::after { content: none; }
    .j-site .c-rows .j-row__title { font-size: 1.08rem; line-height: 1.3; }
}

/* ---- search form ---- */
.c-search { padding: clamp(20px, 2.6vw, 28px); background: var(--j-paper-2); border: 1px solid var(--j-line); border-radius: var(--j-radius-xl); gap: 12px; }
.c-search__field .j-input { border-radius: 999px; padding-inline: 22px; }
.c-search__field .j-btn { flex: none; }
.c-error__main .c-search { max-width: none; }

/* ---- leadership message ---- */
.c-message { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.c-message__portrait { isolation: isolate; }
.c-message__portrait::before { content: ""; position: absolute; z-index: -1; top: 22px; left: -22px; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--j-radius-xl); background: var(--j-sky); border: 1px solid var(--j-sky-2); }
.c-message__portrait img { border-radius: var(--j-radius-xl); }
.c-message__portrait figcaption { margin-top: 28px; padding: 0 0 0 16px; gap: 4px; }
.c-message__name { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.c-message__body { position: relative; max-width: 68ch; padding-top: clamp(8px, 1vw, 16px); }
.c-message__body::before { content: "\201C"; display: block; height: .62em; margin: 0 0 18px -.04em; font-family: var(--j-accent-serif, Georgia, serif); font-size: clamp(5rem, 4rem + 3vw, 7.5rem); line-height: 1; color: var(--j-royal); opacity: .9; }
.c-message__text { font-size: clamp(1.08rem, 1rem + .25vw, 1.2rem); line-height: 1.8; color: var(--j-text); }
@media (max-width: 860px) {
    .c-message__portrait::before { content: none; }
    .c-message__portrait img { border-radius: var(--j-radius-lg); }
    .c-message__portrait figcaption { margin-top: 0; }
    .c-message__body::before { font-size: 4.5rem; margin-bottom: 10px; }
}
@media (min-width: 861px) { .c-message__portrait { margin-left: 22px; } }

/* ---- contact ---- */
.c-contact { gap: 32px clamp(32px, 5vw, 72px); }
.c-contact__heading { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; margin-bottom: 22px; }
.c-facts { border-top: 0; gap: 12px; }
.c-facts__row { position: relative; min-height: 84px; align-content: center; padding: 16px 18px 16px 82px; border: 1px solid var(--j-line); border-radius: var(--j-radius-lg); background: #fff; transition: border-color .3s, box-shadow .35s var(--j-ease); }
.c-facts__row:hover { border-color: var(--j-line-strong); box-shadow: var(--j-shadow-card); }
.c-facts dt { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--j-muted); }
.j-site:lang(ne) .c-facts dt { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.c-facts dt .j-ico { position: absolute; left: 18px; top: 50%; width: 48px; height: 48px; margin-top: -24px; padding: 13px; border-radius: 12px; background: var(--j-sky); color: var(--j-royal); }
.c-facts dd { font-size: 1.06rem; font-weight: 600; }
.j-site .c-facts dd a { color: var(--j-ink); }
.j-site .c-facts dd a:hover { color: var(--j-royal); text-decoration: none; }
.c-contact__form { border-radius: var(--j-radius-xl); padding: clamp(24px, 3.4vw, 48px); box-shadow: var(--j-shadow-card); }
.c-contact__form .j-h3 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 8px; }
.c-contact__form .j-form { gap: 20px; }
.c-contact__form .j-btn { min-width: 200px; }
.c-map { border-radius: var(--j-radius-xl); }
.c-map iframe { height: 320px; }
@media (max-width: 480px) { .c-facts__row { padding-left: 74px; } .c-facts dt .j-ico { left: 14px; width: 44px; height: 44px; margin-top: -22px; padding: 12px; } }

/* ---- gallery ---- */
.c-albums { row-gap: clamp(28px, 3vw, 44px); }
.c-albums .j-album { gap: 14px; }
.c-albums .j-album .j-media { border-radius: var(--j-radius-lg); }
.c-albums .j-album .j-media::before { content: ""; position: absolute; z-index: 1; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; background: #fff var(--c-arrow) center / 18px no-repeat; box-shadow: var(--j-shadow-sm); opacity: 0; transform: translateY(6px); transition: opacity .3s var(--j-ease), transform .35s var(--j-ease-out); }
.c-albums .j-album:hover .j-media::before { opacity: 1; transform: none; }
.j-site .c-albums .j-album__title { font-size: 1.15rem; letter-spacing: -0.018em; }
.c-albums .j-album__title a:hover { color: var(--j-royal); }
.c-albums .j-album__count { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; }
.c-gallery { gap: 14px; }
.c-gallery a { border-radius: var(--j-radius); }
.c-gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 20, 48, .28)); opacity: 0; transition: opacity .3s var(--j-ease); }
.c-gallery a:hover::after { opacity: 1; }
.c-gallery--few { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 18px; }
.c-gallery--few a { aspect-ratio: 4 / 3; border-radius: var(--j-radius-lg); }
.c-gallery--single { grid-template-columns: minmax(0, 1fr); max-width: 960px; }
.c-gallery--single a { aspect-ratio: 3 / 2; border-radius: var(--j-radius-xl); }
.c-lb__btn { border-radius: 50%; border: 1px solid var(--j-line-strong); transition: background-color .2s, border-color .2s, color .2s; }
.c-lb__btn--close:hover { background: var(--j-royal); border-color: var(--j-royal); }

/* ---- error pages ---- */
.c-error__code { font-size: clamp(4.5rem, 3rem + 6vw, 9rem); font-weight: 800; letter-spacing: -0.06em; line-height: .85; color: var(--j-royal); }
.c-error__grid { grid-template-columns: minmax(0, 1fr) 380px; }
.c-error__main { gap: 28px; }
.c-error__links .j-linklist a { padding-block: 10px; }
.c-error__link { gap: 14px; color: var(--j-ink); font-weight: 600; }
.c-error__link .j-ico { width: 36px; height: 36px; padding: 9px; border-radius: 10px; background: #fff; border: 1px solid var(--j-line); }
.c-error__links .j-linklist a:hover .c-error__link { color: var(--j-royal); }
.c-error__help { padding-top: 24px; border-top: 1px solid var(--j-line); }
@media (max-width: 640px) { .c-error__code { font-size: 4.2rem; } }
@supports (-webkit-text-stroke: 1px black) { .c-error__code { color: transparent; -webkit-text-stroke: 2.5px var(--j-royal); } }
@media (max-width: 640px) {
    .c-ledger .j-ledger__meta > :not(:first-child):not(.j-chip)::before { content: none; }
    .c-lead__go { display: none; }
}
@media (max-width: 860px) { .c-message { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 900px) { .c-error__grid { grid-template-columns: minmax(0, 1fr); } }
/* lightbox: the photo never runs under the control bar (percentage max-height did not resolve inside the grid row) */
.c-lb__stage { overflow: hidden; }
.c-lb__img { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); border-radius: var(--j-radius-lg); }

/* =====================================================================================================
   REFINEMENT PASS (2026-12-03, content area): aligned to the shared calmer scale in jmc.css. 14px cards,
   20px panels, no resting shadows, card/row titles kept under ~1.5rem, article H1s sized for long titles.
   ===================================================================================================== */

/* ---- article pages (/detail/*): long post titles (often Devanagari) get a measured H1 instead of the 3.35rem page scale ---- */
.j-pagehead:has(+ .j-section .c-article:not(.c-article--page)) .j-h1 { font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.6rem); line-height: 1.16; max-width: 32ch; text-wrap: balance; }
.j-site:lang(ne) .j-pagehead:has(+ .j-section .c-article:not(.c-article--page)) .j-h1 { font-size: clamp(1.65rem, 1.2rem + 1.3vw, 2.3rem); line-height: 1.38; }
.c-article__meta { margin-bottom: 24px; padding-bottom: 18px; }
.c-article__back { margin-top: 36px; padding-top: 20px; }
.c-figure { margin-bottom: 24px; }
.c-figure figcaption { margin-top: 10px; }
.c-article--page .c-cms > p:first-child:not(:has(img)), .c-article--page .c-cms > p:first-child:has(img) + p { font-size: clamp(1.1rem, 1.04rem + .25vw, 1.22rem); }

/* ---- notice ledger: slightly tighter cards, smaller date tile, same rhythm as the homepage notice list ---- */
.c-ledger { gap: 10px; }
.c-ledger .j-ledger__item { grid-template-columns: 66px minmax(0, 1fr) 36px; gap: 20px; padding: 14px 18px 14px 14px; }
.c-ledger .j-ledger__item::after { width: 36px; height: 36px; background-size: 16px; }
.c-ledger .j-ledger__item:hover::after { background-size: 16px; }
.c-ledger .j-ledger__date { width: 66px; height: 66px; border-radius: 12px; }
.c-ledger .j-ledger__day { font-size: 1.55rem; }
.c-ledger .j-ledger__mon { margin-top: 4px; font-size: .66rem; }
.j-site .c-ledger .j-ledger__title { font-size: 1.04rem; line-height: 1.5; }
.c-ledger--aside .j-ledger__item { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
.c-ledger--aside .j-ledger__date { width: 54px; height: 56px; border-radius: 10px; }
.c-ledger--aside .j-ledger__day { font-size: 1.25rem; }
@media (max-width: 640px) {
    .c-ledger .j-ledger__item { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 14px; }
    .c-ledger .j-ledger__date { width: 56px; height: 60px; }
    .c-ledger .j-ledger__day { font-size: 1.35rem; }
    .j-site .c-ledger .j-ledger__title { font-size: 1rem; }
}

/* ---- news / blog lead story: headline sized as a feature, not a second page H1 ---- */
.c-lead { gap: clamp(24px, 3.6vw, 56px); padding-bottom: clamp(32px, 3.6vw, 48px); margin-bottom: clamp(32px, 3.6vw, 48px); }
.c-lead__media { border-radius: var(--j-radius-lg); }
.c-lead__body { gap: 14px; }
.j-site .c-lead__title { font-size: clamp(1.45rem, 1.15rem + 1vw, 2.05rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 750; text-wrap: balance; }
.j-site:lang(ne) .c-lead__title { line-height: 1.45; letter-spacing: 0; }
.c-lead__text { font-size: 1.04rem; line-height: 1.7; }
.c-lead__go { width: 44px; height: 44px; margin-top: 6px; }
.c-lead__go .j-ico { width: 18px; height: 18px; }

/* ---- post cards ---- */
.c-post:hover { transform: translateY(-2px); }
.c-post__body { gap: 10px; padding: 20px 22px 22px; }
.j-site .c-post__title { font-size: 1.12rem; line-height: 1.38; text-wrap: pretty; }
.c-post__text { font-size: .95rem; }
.c-post__extras { padding-top: 12px; }
/* a long category name wraps: keep the chip compact and left-aligned instead of a stretched two-line pill */
.c-post .j-chip { border-radius: 10px; padding: 3px 10px; font-size: .78rem; }
/* a category with a single post: one horizontal card instead of a lone tile in an empty three-column grid */
@media (min-width: 761px) {
    .c-posts:has(> .c-post:only-child) { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
    .c-post:only-child { flex-direction: row; }
    .c-post:only-child .c-post__media { flex: 0 0 42%; aspect-ratio: 4 / 3; }
    .c-post:only-child .c-post__body { justify-content: center; padding: clamp(24px, 3vw, 40px); }
    .j-site .c-post:only-child .c-post__title { font-size: 1.35rem; }
}

/* ---- search results rows ---- */
.c-rows .j-row .j-media { border-radius: 12px; outline: 1px solid var(--j-line); outline-offset: -1px; }
.j-site .c-rows .j-row__title { font-size: clamp(1.15rem, 1.05rem + .3vw, 1.35rem); }
.c-rows .j-row { grid-template-columns: 200px minmax(0, 1fr) 40px; padding: 22px 0; }
.c-rows .j-row::after { width: 40px; height: 40px; background-size: 16px; }
.c-rows .j-row:hover::after { background-size: 16px; }
@media (max-width: 640px) { .c-rows .j-row { grid-template-columns: 96px minmax(0, 1fr); padding: 16px 0; } }

/* ---- leadership message: smaller portrait column, calmer reading size ---- */
@media (min-width: 861px) { .c-message { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5.5vw, 88px); } }
.c-message__portrait { max-width: 420px; }
.c-message__portrait::before { top: 18px; left: -18px; border-radius: var(--j-radius-xl); }
.c-message__portrait figcaption { margin-top: 26px; }
.c-message__name { font-size: 1.18rem; font-weight: 750; }
.c-message__body::before { font-size: clamp(4rem, 3.4rem + 2vw, 5.5rem); margin-bottom: 14px; }
.c-message__text { font-size: clamp(1.05rem, 1rem + .2vw, 1.15rem); line-height: 1.78; }
@media (min-width: 861px) { .c-message__portrait { margin-left: 18px; } }
@media (max-width: 860px) {
    .c-message__portrait { max-width: none; grid-template-columns: 112px minmax(0, 1fr); }
    .c-message__body::before { font-size: 3.6rem; margin-bottom: 8px; }
}

/* ---- contact: the form is a hairline panel at rest (shadow only on interaction), headings on the card scale ---- */
.c-contact { gap: 28px clamp(32px, 4.5vw, 64px); }
.j-site .c-contact__heading { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); letter-spacing: -0.025em; margin-bottom: 18px; }
.c-contact__form { box-shadow: none; border: 1px solid var(--j-line); padding: clamp(24px, 3vw, 40px); transition: box-shadow .35s var(--j-ease), border-color .3s; }
.c-contact__form:focus-within { border-color: var(--j-line-strong); box-shadow: var(--j-shadow-card); }
.j-site .c-contact__form .j-h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); letter-spacing: -0.025em; }
.c-contact__note { margin-bottom: 22px; }
.c-facts { gap: 10px; }
.c-facts__row { min-height: 78px; padding: 14px 18px 14px 80px; }
.c-facts dt { font-size: .74rem; letter-spacing: .09em; }
.c-facts dt .j-ico { width: 44px; height: 44px; margin-top: -22px; padding: 12px; }
.c-facts dd { font-size: 1.02rem; }
.c-map { border-radius: var(--j-radius-lg); }
@media (max-width: 480px) { .c-facts__row { padding-left: 72px; } .c-facts dt .j-ico { left: 14px; width: 42px; height: 42px; margin-top: -21px; padding: 11px; } }

/* ---- gallery: denser album grid on wide screens and two-up on phones, so a long archive reads as a gallery ---- */
.c-albums.j-grid-3 { gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 28px); }
@media (min-width: 1200px) { .c-albums.j-grid-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .c-albums.j-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
    .c-albums .j-album { gap: 10px; }
    .j-site .c-albums .j-album__title { font-size: 1rem; }
    .c-albums .j-album__count { font-size: .8rem; }
    .c-albums .j-album .j-media::before { content: none; }
}
.c-albums .j-album__title a { color: var(--j-ink); }
.c-gallery--single { max-width: 880px; }
.c-gallery--single a { border-radius: var(--j-radius-lg); }
.c-gallery a:focus-visible { outline: 2px solid var(--j-royal); outline-offset: 3px; }

/* ---- error pages: the code is a solid royal numeral (the outline stroke drew the font's overlapping contours) ---- */
.c-error__code { font-size: clamp(4rem, 2.8rem + 4.2vw, 7rem); font-weight: 800; letter-spacing: -0.05em; line-height: .9; color: var(--j-royal); -webkit-text-stroke: 0; }
@supports (-webkit-text-stroke: 1px black) { .c-error__code { color: var(--j-royal); -webkit-text-stroke: 0; } }
@media (max-width: 760px) { .c-error__code { font-size: 3.4rem; } }
.c-error__main { gap: 24px; }
.c-error__links .j-linklist a { padding-block: 9px; }
.c-error__link .j-ico { width: 34px; height: 34px; padding: 8px; }
/* audit: contact labels at 12px minimum; contact links with a 24px hit area */
.j-site .c-contact dt, .j-site [class*="c-contact"] dt { font-size: max(.78rem, 12.5px); }
.j-site [class*="c-contact"] dd a { display: inline-block; padding-block: 2px; }
/* gg12: the row arrows are drawn by the row's own ::after. On hover they get a transform, which paints them above the
   stretched title link (a::after, inset:0), so a click on the arrow hit the <li>/row instead of the link. Arrows are
   decoration only: let clicks pass through to the link underneath. */
.c-ledger .j-ledger__item::after, .c-rows .j-row::after { pointer-events: none; }

/* =====================================================================================================
   RESEARCH PICKS (2026-12-04, content pages). Sources noted per block. Light foundation, navy/royal accents only.
   Stretched links: the <a> owning the ::after overlay is never transformed; decorative layers get pointer-events:none.
   ===================================================================================================== */

/* ---- 1. notice list = ONE hairline panel with divided rows [Herald College] ---- */
.c-ledger { display: block; background: #fff; border: 1px solid #e4e9f2; border-radius: 20px; overflow: hidden; overflow: clip; }
.c-ledger .j-ledger__item { border: 0; border-top: 1px solid #e9eef7; border-radius: 0; padding: 20px 24px; background: transparent; box-shadow: none; transform: none; transition: background-color .2s var(--j-ease); }
.c-ledger .j-ledger__item:first-child { border-top: 0; }
.c-ledger .j-ledger__item:hover, .c-ledger .j-ledger__item:has(.j-ledger__title a:focus-visible) { background: var(--j-sky); border-color: #e9eef7; box-shadow: none; transform: none; }
.c-ledger .j-ledger__item:has(.j-ledger__title a:focus-visible) { outline: 2px solid var(--j-royal); outline-offset: -2px; }
.c-ledger .j-ledger__title a:focus-visible { outline: none; }
.c-ledger .j-ledger__date { transition: background-color .2s var(--j-ease); }
.c-ledger .j-ledger__item:hover .j-ledger__date, .c-ledger .j-ledger__item:has(.j-ledger__title a:focus-visible) .j-ledger__date { background: #fff; }
.c-ledger .j-ledger__item::after { pointer-events: none; transition: background-color .2s var(--j-ease), transform .2s var(--j-ease); }
.c-ledger .j-ledger__item:hover::after, .c-ledger .j-ledger__item:has(.j-ledger__title a:focus-visible)::after { background: var(--j-royal) var(--c-arrow-w) center / 16px no-repeat; transform: translateX(3px); }
@media (max-width: 640px) { .c-ledger .j-ledger__item { padding: 16px; } }

/* ---- 2. growing underline on list titles [Harvard + SOAS]; padding keeps it clear of Devanagari descenders ---- */
.c-ledger .j-ledger__title a, .c-uline {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
    padding-bottom: .1em;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    transition: background-size .3s cubic-bezier(.4, 0, .2, 1), color .2s var(--j-ease);
}
.j-site:lang(ne) .c-ledger .j-ledger__title a, .j-site:lang(ne) .c-uline { padding-bottom: .18em; }
.c-ledger .j-ledger__item:hover .j-ledger__title a, .c-ledger .j-ledger__title a:focus-visible,
.c-post:hover .c-uline, .c-post:has(a:focus-visible) .c-uline,
.c-lead:hover .c-uline, .c-lead:has(a:focus-visible) .c-uline { background-size: 100% 2px; color: var(--j-royal); }
.c-post__title a:hover, .c-lead__title a:hover { text-decoration: none; }
.c-post__title a:focus-visible, .c-lead__title a:focus-visible { outline: none; }
.c-post:has(.c-post__title a:focus-visible) { outline: 2px solid var(--j-royal); outline-offset: 2px; }
.c-lead:has(.c-lead__title a:focus-visible) { outline: 2px solid var(--j-royal); outline-offset: 6px; border-radius: 14px; }
@media (prefers-reduced-motion: reduce) { .c-ledger .j-ledger__title a, .c-uline { transition: none; } }

/* ---- 3. news cards [Stanford + Dribbble "Asteria"]: 14px clipped frame, slow photo zoom, date · read time under title ---- */
.c-post { border-radius: 14px; }
.c-frame { position: relative; }
.c-lead .c-frame .c-lead__media { border-radius: 14px; }
.c-post .c-post__media img, .c-lead .c-lead__media img { transition: none; }
.c-post:hover .c-post__media img, .c-lead:hover .c-lead__media img { transform: none; }
@media (prefers-reduced-motion: no-preference) {
    .c-post .c-post__media img, .c-lead .c-lead__media img { transition: transform .4s cubic-bezier(.33, 0, .67, 1); }
    .c-post:is(:hover, :focus-within) .c-post__media img, .c-lead:is(:hover, :focus-within) .c-lead__media img { transform: scale(1.05); }
}
/* category label: a small white tab straddling the photo's bottom-left edge (never a dark overlay on the photo) */
.c-frame__chip { position: absolute; left: 0; bottom: 0; z-index: 2; max-width: calc(100% - 24px); transform: translateY(50%); padding: 4px 10px; border-radius: 0 8px 0 0; background: #fff; color: var(--j-blue); font-size: 12px; font-weight: 700; line-height: 1.35; pointer-events: none; overflow-wrap: anywhere; }
.c-frame:has(.c-frame__chip) + .c-post__body { padding-top: 28px; }
.c-lead .c-frame__chip { left: 0; }
.c-lead .c-frame:has(.c-frame__chip) { margin-bottom: 14px; }
.c-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 0; font-size: .875rem; line-height: 1.4; color: #5b6680; }
.c-byline time { color: inherit; }
.c-byline__sep { color: #8a94ab; }
.c-mini__date .c-byline__sep { margin: 0 6px; }
@media (max-width: 900px) { .c-lead .c-frame:has(.c-frame__chip) { margin-bottom: 8px; } }

/* ---- 4. article meta row [Guildhall + MIT + Edinburgh]: dates | type | share, royal bars between items ---- */
.c-metarow { margin: 0 0 28px; padding: 14px 0; border-top: 1px solid #e3e8f2; border-bottom: 1px solid #e3e8f2; }
/* every item carries its bar 12px to its left; the list clips 4px outside the column, so the bar of an item that starts a
   (wrapped) line is cut off while focus rings still show */
.c-metarow__list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; column-gap: 22px; row-gap: 6px; margin: -4px 0 -4px -4px; padding: 4px 0 4px 4px; overflow: hidden; font-size: .875rem; line-height: 1.4; font-weight: 500; color: #4a5578; }
.c-metarow__list > li { position: relative; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0 6px; min-width: 0; overflow-wrap: anywhere; }
.c-metarow__list > li::before { content: ""; position: absolute; left: -12px; top: .2em; bottom: .2em; width: 2px; background: var(--j-royal); }
.c-metarow__list time { color: var(--j-ink); font-weight: 600; }
.c-metarow__share a, .c-metarow__copy { display: inline-block; padding: 3px 0; color: var(--j-royal); font: inherit; font-weight: 600; text-decoration: none; background: none; border: 0; cursor: pointer; }
.c-metarow__share a:hover, .c-metarow__copy:hover { text-decoration: underline; text-underline-offset: 3px; }
.c-metarow__share a:focus-visible, .c-metarow__copy:focus-visible { outline: 2px solid var(--j-royal); outline-offset: 1px; border-radius: 4px; }
.c-metarow__dot { color: #8a94ab; }
.c-metarow__status { color: var(--j-blue); font-weight: 600; }
.c-metarow__status:empty { display: none; }
/* publication stamp at the end of the body */
.c-stamp { margin: 48px 0 0; padding-top: 16px; border-top: 1px solid #e3e8f2; font-size: .875rem; line-height: 1.5; color: #5a6785; max-width: 72ch; }
.c-stamp + .c-article__back { margin-top: 20px; padding-top: 0; border-top: 0; }

/* ---- 5. lead image on an offset tinted panel [ETH Zürich]: photo overhangs the panel's left edge, caption inside the tint ---- */
.c-offset { margin: 0 0 28px 24px; padding: 32px 24px 16px 32px; background: var(--j-sky); border-radius: 20px; }
.c-offset__link { display: block; width: calc(100% + 56px); margin-left: -56px; border-radius: 14px; overflow: hidden; background: #fff; outline: 1px solid #e3e8f2; outline-offset: -1px; }
/* the hairline keeps a white scanned notice visible where it overhangs the white page */
.c-offset__link img { display: block; width: 100%; height: auto; max-height: 1100px; object-fit: contain; margin: 0 auto; }
.c-offset figcaption { margin-top: 14px; font-size: .9rem; }
.c-offset figcaption a { display: inline-flex; align-items: center; gap: 6px; padding-block: 3px; font-weight: 600; color: var(--j-royal); }
.c-offset figcaption a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
    .c-offset { margin-left: 12px; padding: 16px 12px 12px 16px; }
    .c-offset__link { width: calc(100% + 28px); margin-left: -28px; }
}

/* ---- 6. gallery album: second photo crossfades over the cover on hover / keyboard focus [Cambridge] ---- */
.c-album__img2 { display: none; }
@media (hover: hover) {
    .c-album__img2 { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
    .j-album:hover .c-album__img2, .j-album:has(a:focus-visible) .c-album__img2 { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .c-album__img2 { transition: none; } }

/* ---- 7. About (/content-view/about, CMS page): the vision line set as a light serif quote [RISD]. CSS-only: the page body is
   staff HTML, so the vision paragraph is found by its pasted green span; its inline green/grey colours are neutralised.
   Only Noto Serif Display 500/600 is self-hosted (no 400, no italic), so 500 is the lightest real weight here ---- */
.c-article--page .c-cms > p:has(em [style*="#25a748"]) { margin: 0 0 32px; font-family: var(--j-accent-serif, Georgia, serif); font-style: italic; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.45; font-weight: 500; color: var(--j-blue); max-width: 46ch; text-wrap: pretty; }
.c-article--page .c-cms > p:has(em [style*="#25a748"]) [style*="color"] { color: inherit !important; }
.c-article--page .c-cms > p:has(em [style*="#25a748"]) em { font-style: italic; }
/* the About lead photo (first paragraph = one image): same offset idea as article lead images, but drawn by the image's own
   shadow so a CMS image that fails to load (0x0) leaves no empty tinted panel behind */
.c-article--page .c-cms:has(> p em [style*="#25a748"]) > p:first-child:has(> img:only-child) { margin: 0 0 32px; padding-top: 32px; }
.c-article--page .c-cms:has(> p em [style*="#25a748"]) > p:first-child > img:only-child { display: block; width: calc(100% - 24px) !important; max-width: none; height: auto; border-radius: 14px; box-shadow: 24px -32px 0 0 var(--j-sky); }
@media (max-width: 767px) {
    .c-article--page .c-cms:has(> p em [style*="#25a748"]) > p:first-child:has(> img:only-child) { padding-top: 16px; }
    .c-article--page .c-cms:has(> p em [style*="#25a748"]) > p:first-child > img:only-child { width: calc(100% - 12px) !important; box-shadow: 12px -16px 0 0 var(--j-sky); }
}
