/* Supporting pages (research/*, about/*). Matches the homepage look. */
:root { --wcm-red: #b31b1b; --wcm-red-dark: #8c1515; --ink: #222; --muted: #5f5f5f; --rule: #e3e3e3; --tint: #f6f5f3; --dark: #2b2b2b; --max: 1120px; --lead: #b31b1b; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif; font-size: 18px; line-height: 1.6; color: var(--ink); background: #fff; }
a { color: var(--wcm-red); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--wcm-red); outline-offset: 2px; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.inst-bar { background: var(--wcm-red); }
.inst-bar .wrap { display: flex; align-items: center; height: 60px; }
.inst-bar .logo img { height: 26px; width: auto; }
.site-head { border-bottom: 1px solid var(--rule); background: #fff; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; flex-wrap: wrap; }
.site-title { font-family: "Source Serif 4", Georgia, serif; font-size: 28px; color: var(--ink); line-height: 1.1; }
.site-title small { display: block; font-family: "Source Sans 3", sans-serif; font-size: 14px; color: var(--muted); margin-top: 4px; }
.site-title:hover { text-decoration: none; }
nav.main { display: flex; gap: 24px; font-size: 16px; font-weight: 600; flex-wrap: wrap; }
nav.main a { color: var(--ink); }
.doc { padding-top: 32px; padding-bottom: 64px; max-width: 920px; }
.crumbs { font-size: 15px; color: var(--muted); margin: 0 0 18px; }
h1 { font-family: "Source Serif 4", Georgia, serif; font-weight: 400; font-size: 38px; line-height: 1.2; margin: 4px 0 12px; }
h2 { font-family: "Source Serif 4", Georgia, serif; font-weight: 400; font-size: 26px; margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--wcm-red); }
h3 { font-size: 19px; margin: 26px 0 8px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: var(--c, var(--wcm-red)); }
.kicker-p { color: var(--muted); font-size: 16px; margin: 0 0 18px; }
.lead { font-size: 20px; color: #333; }
.ptitle { font-size: 16px; color: var(--muted); }
.roles { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.rb { border-radius: 3px; padding: 1px 8px; font-weight: 700; font-size: 12px; }
.rb.co { background: #6a3d9a; color: #fff; }
.contrib { background: var(--tint); border-left: 3px solid var(--c, var(--wcm-red)); padding: 10px 14px; }
.ms { font-size: 14px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #555; }
.src { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; font-size: 16px; margin: 14px 0; }
.tbl { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--rule); }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
td small { color: var(--muted); }
.srcl, .idx, .ms-list { padding-left: 20px; }
.srcl li, .idx li, .ms-list li { margin: 6px 0; }
.idx { list-style: none; padding: 0; }
.idx li { padding: 12px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.idx span, .srcl span { color: var(--muted); font-size: 15px; }
.vrole { font-weight: 600; color: var(--muted); }
.note { font-size: 15px; color: var(--muted); }
.back { margin-top: 32px; font-weight: 600; font-size: 16px; }
.reviewed { font-size: 14px; color: var(--muted); margin-top: 40px; }
footer { background: var(--dark); color: #ccc; font-size: 15px; }
footer .wrap { padding-top: 44px; padding-bottom: 36px; }
footer .top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid #444; }
footer .top img { height: 24px; width: auto; margin-bottom: 12px; }
footer a { color: #ddd; }
footer .flinks { display: flex; flex-direction: column; gap: 6px; }
footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-size: 14px; color: #999; }
footer .bottom a { color: #aaa; margin-left: 18px; }
@media (max-width: 700px) { .wrap { padding: 0 16px; } h1 { font-size: 30px; } nav.main { gap: 14px; font-size: 15px; } }
/* evidence page and bibliography */
.toc { background: var(--tint); padding: 4px 20px 12px; margin: 24px 0; }
.toc .toc-h { border: 0; font-size: 20px; margin: 12px 0 4px; padding: 0; }
.toc ul { margin: 4px 0; padding-left: 20px; font-size: 16px; }
.q { font-style: italic; color: #444; }
.ev-entry { border-left: 4px solid var(--c, var(--wcm-red)); padding: 4px 0 4px 20px; margin: 28px 0 40px; }
.ev-entry h3 { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; font-size: 24px; margin: 4px 0 6px; }
.ev-entry h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .7px; color: var(--muted); margin: 22px 0 6px; }
.claim { display: grid; grid-template-columns: 190px 1fr; gap: 6px 16px; margin: 10px 0 14px; }
.claim dt { font-weight: 700; }
.claim dd { margin: 0; }
.scope { background: var(--tint); padding: 10px 14px; font-size: 16px; }
.bib { list-style: none; padding: 0; margin: 0; }
.bib li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.bib .yr { color: var(--wcm-red); font-weight: 700; }
.bib .t { display: block; font-weight: 600; }
.bib .t a { color: var(--ink); }
.bib .au, .bib .v { display: block; color: var(--muted); font-size: 15px; }
.bib .roles { margin: 4px 0 0; }
h2 small { font-size: 16px; color: var(--muted); }
@media (max-width: 700px) { .claim { grid-template-columns: 1fr; } .bib li { grid-template-columns: 1fr; gap: 2px; } }

.rb.lead { background: var(--wcm-red); color: #fff; }
.bib .au b { color: var(--wcm-red); }
.bib .au b.sh { color: #6a3d9a; }
.rb.ne { background: #e9e6e1; color: #444; }

/* Funding page: selected outputs and attribution notes */
.funding-outputs, .funding-attribution { margin: 1rem 0 1.25rem; padding: .75rem 1rem; border: 1px solid var(--rule); border-radius: 6px; background: var(--tint); }
.funding-outputs summary, .funding-attribution summary { cursor: pointer; font-weight: 600; }
.funding-attribution p { font-size: 15px; color: var(--muted); }
.funding-output-list { margin: .8rem 0 .2rem; padding-left: 1.35rem; }
.funding-output-list li { margin: .85rem 0; }
.funding-output-list .output-year, .funding-output-list .output-type { color: var(--muted); }
.output-note { font-size: 15px; line-height: 1.45; margin: .25rem 0 0; }

/* Oct 31: wide layout for the publication browser; context headings and old-anchor markers on evidence/ */
.doc.wide { max-width: var(--max); }
.ctx-h { font-size: 18px; margin: 26px 0 8px; }
.alias { display: block; position: relative; top: -20px; height: 0; }
p.kicker { font-size: 14px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin: -6px 0 14px; }

/* Projects page */
.proj { margin: 36px 0 56px; }
.proj h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .7px; color: var(--muted); margin: 24px 0 6px; }
.proj ul { padding-left: 20px; }
.proj li { margin: 6px 0; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 36px; }
.pgrid ul { margin-top: 4px; }
.srcnote { margin-top: 22px; font-size: 14px; }
.srcnote a { color: var(--muted); }
.ventures-p { border-top: 1px solid var(--rule); padding-top: 12px; }
@media (max-width: 700px) { .pgrid { grid-template-columns: 1fr; } }
/* Projects page: collapsed portals, "more" link, single sources note */
.pres { margin: 14px 0 0; padding: 10px 14px; border: 1px solid var(--rule); background: var(--tint); }
.pres summary { cursor: pointer; font-weight: 600; font-size: 16px; }
.more-p { margin: 4px 0 0; font-size: 15px; }
.proj > .srcnote, main > .srcnote { margin-top: 40px; }