/* One taxonomy drives both the card label and the post layout. */
.browse-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 0 24px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.topic-picker { position: relative; z-index: 3; }
.topic-picker summary { cursor: pointer; font-size: 17px; font-weight: 600; padding: 12px 0; }
.topic-options { position: absolute; top: 100%; left: 0; width: min(320px,calc(100vw - 40px)); max-height: 360px; overflow-y: auto; padding: 12px 0; border: 1px solid var(--line); background: white; box-shadow: 0 8px 20px #071c2914; }
.topic-options a { display: block; padding: 9px 20px; font-size: 16px; }
.topic-options a:hover,.topic-options a[aria-current="page"] { background: #f0f3f5; color: var(--accent); }
.search-articles { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--ink); background: white; color: var(--ink); font: 600 16px var(--sans); cursor: pointer; }
.search-articles:hover { background: #f0f3f5; }
.search-articles:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.browse-controls + .feature-feed { border-top: 0; padding-top: 0; }
.browse-controls + .publication-feed { margin-top: 35px; }
.article-tools { flex-wrap: wrap; gap: 12px 20px; }
.footer-contact { max-width: 1344px; margin: 0 auto 30px; padding-bottom: 30px; border-bottom: 1px solid #ffffff40; }
.footer-contact a { display: inline-flex; gap: 18px; align-items: center; font: 700 32px/1.25 Georgia, serif; }
.footer-contact a:hover { color: white; text-decoration: underline; text-underline-offset: 6px; }
@media(max-width:640px) { .footer-contact a { font-size: 28px; } }
.content-type-article:has(.article-hero-overlay) { padding-top: 0; }
.article-hero-overlay { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(420px, 29vw, 580px); margin: 0; padding: 160px 0 60px; background: #071c29; }
.article-hero-overlay::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgba(3,15,24,.15) 0%,rgba(3,15,24,.55) 45%,rgba(3,15,24,.87) 100%); }
.article-hero-overlay .article-hero-background { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.article-hero-heading { width: min(1100px, calc(100% - 96px)); margin: 0 auto; color: white; }
.article-hero-heading h1 { font: 700 clamp(38px, 3vw, 54px)/1.12 var(--serif); letter-spacing: -1px; color: white; margin: 0 0 24px; max-width: 1040px; text-wrap: balance; }
.article-hero-heading .metadata { color: white; font-size: 14px; margin: 0; }
.article-photo-credit { width: min(1344px, calc(100% - 80px)); margin: 10px auto 0; text-align: right; font: 12px/1.5 var(--sans); color: var(--muted); }
.article-photo-credit a { text-decoration: underline; }
.article-introduction { width: min(880px, calc(100% - 80px)); margin: 48px auto 65px; }
.article-introduction .standfirst { font-size: 24px; line-height: 1.6; }
@media(max-width:640px) {
  .article-hero-overlay { min-height: 380px; padding: 130px 0 38px; }
  .article-hero-heading { width: calc(100% - 40px); }
  .article-hero-heading h1 { font-size: 36px; letter-spacing: -.65px; }
  .article-introduction { width: calc(100% - 40px); margin: 30px auto 42px; }
  .article-introduction .standfirst { font-size: 20px; }
  .article-photo-credit { width: calc(100% - 40px); font-size: 11px; }
}
@media print {
  .article-hero-overlay { display: block; min-height: 0; padding: 0; background: white; }
  .article-hero-overlay::after,.article-hero-background,.article-photo-credit { display: none !important; }
  .article-hero-heading,.article-introduction { width: 100%; color: black; }
  .article-hero-heading h1,.article-hero-heading .metadata { color: black; }
  .article-hero-heading h1 { font-size: 30pt; }
}
:root { --sans: Satoshi, var(--gh-font-body, Arial), sans-serif; --serif: Georgia, 'Times New Roman', serif; }
.article-body.gh-content h2,.article-body.gh-content h3 { font-family: var(--sans); font-weight: 700; }
.content-type-lab .article-header h1 { font-family: var(--gh-font-heading, Satoshi), Arial, sans-serif; }
.type-preview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 35px; margin-top: 55px; }
.type-preview-grid h2 { font: 700 28px/1.25 var(--serif); }
.type-preview-grid .summary { font-size: 18px; }
[hidden] { display: none !important; }
.brand-text { font: 700 42px/1 Georgia, serif; color: #080d10; }
.metadata { flex-wrap: wrap; }
.content-type-label { font-weight: 600; color: var(--ink); }
.type-cover { display: none; }
.type-body-layout { width: min(880px, calc(100% - 80px)); margin: 0 auto; }
.type-body-layout .article-body { width: 100%; min-width: 0; }
.type-opening-copy { min-width: 0; }
.content-type-whitepaper > .article-header,
.content-type-lab > .article-header { width: min(1344px, calc(100% - 96px)); }
.content-type-whitepaper .article-hero,
.content-type-lab .article-hero { display: none; }
.content-type-whitepaper .type-opening { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 90px; align-items: start; padding-bottom: 52px; border-bottom: 1px solid var(--ink); }
.content-type-whitepaper .type-opening:not(:has(.type-cover)) { display: block; max-width: 880px; }
.content-type-whitepaper .article-header h1 { font-size: clamp(38px, 3.4vw, 54px); }
.content-type-whitepaper .type-cover { display: block; margin: 0; }
.content-type-whitepaper .type-cover img { width: 100%; height: 380px; object-fit: cover; }
.type-cover figcaption { font-size: 12px; color: var(--muted); margin-top: 12px; }
.type-cover figcaption a { text-decoration: underline; }
.content-type-whitepaper .type-body-layout { width: min(1344px, calc(100% - 96px)); display: grid; grid-template-columns: 220px minmax(0, 880px); gap: 70px; justify-content: start; }
.content-type-whitepaper .article-body { grid-column: 2; }
.report-contents { align-self: start; position: sticky; top: 30px; font-size: 14px; line-height: 1.5; }
.report-contents summary { cursor: pointer; font-weight: 600; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.report-contents nav { display: grid; gap: 14px; padding-top: 20px; }
.report-contents a { color: var(--muted); }
.report-contents a:hover { color: var(--accent); }
.report-download { display: inline-block; border: 1px solid var(--ink); padding: 12px 20px; margin-top: 25px; font-size: 15px; }
.content-type-lab .type-opening { display: grid; grid-template-columns: 1fr 1.1fr; gap: 55px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 50px; }
.content-type-lab .type-opening:not(:has(.type-cover)) { display: block; max-width: 880px; }
.content-type-lab .article-header h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(36px, 3.1vw, 50px); letter-spacing: -1.5px; }
.content-type-lab .type-cover { display: block; margin: 0; }
.content-type-lab .type-cover img { width: 100%; height: auto; max-height: 520px; object-fit: contain; background: #f1f4f5; border: 1px solid var(--line); }
.content-type-lab .article-body h2 { border-top: 1px solid var(--line); padding-top: 30px; }
.article-body pre { overflow: auto; font-size: 15px; padding: 24px; background: #f1f4f5; }
.article-body iframe { max-width: 100%; }
.article-body .kg-width-full { width: 100%; max-width: 100%; }
.article-body .kg-gallery-container { display: flex; flex-direction: column; gap: 16px; }
.article-body .kg-gallery-row { display: flex; gap: 16px; }
.article-body .kg-gallery-image { flex: 1 1 0; min-width: 0; }
.article-body .kg-gallery-image img { width: 100%; height: auto; }
.article-body .kg-bookmark-card { width: 100%; }
.article-body .kg-bookmark-container { display: flex; border: 1px solid var(--line); text-decoration: none; }
.article-body .kg-bookmark-content { flex: 1; padding: 20px; min-width: 0; }
.article-body .kg-bookmark-title { font-size: 18px; font-weight: 700; }
.article-body .kg-bookmark-description { font-size: 14px; }
.article-body .kg-bookmark-metadata { display: flex; gap: 8px; align-items: center; font-size: 12px; margin-top: 16px; }
.article-body .kg-bookmark-icon { width: 20px; height: 20px; }
.article-body .kg-bookmark-thumbnail { flex: 0 0 30%; }
.article-body .kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.article-body .kg-toggle-card h4 { margin: 0; }
.article-body .kg-callout-card { padding: 24px; }
.article-body .kg-embed-card { overflow: auto; }
.article-body .kg-file-card a { overflow-wrap: anywhere; }
.feature-feed { border-top: 1px solid var(--ink); padding-top: 65px; }
.feature-feed .feed-story { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.feature-feed h2 { font: 700 48px/1.15 var(--serif); letter-spacing: -1px; margin: 0 0 24px; }
.feed-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.feed-meta { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 16px 0; }
.publication-feed { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 50px 35px; margin-top: 65px; }
.publication-feed h2 { font: 700 24px/1.3 var(--sans); margin: 22px 0 0; }
.publication-feed .summary { font-size: 18px; }
.feature-feed + .publication-feed > .feed-story:nth-child(-n+2) { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.feature-feed + .publication-feed > .feed-story:nth-child(-n+2) h2 { margin-top: 0; }
.feature-feed + .publication-feed > .feed-story:nth-child(-n+2) .feed-image img { aspect-ratio: 1; }
.feed-story-no-image .feed-copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; }
.archive-heading { font: 700 54px/1.15 var(--serif); margin: 0 0 35px; }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); font-size: 15px; }
.pagination-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 24px; border: 1px solid var(--ink); color: var(--ink); font-size: 17px; font-weight: 600; }
.pagination-button:hover { color: white; background: var(--ink); }
.pagination .page-number { white-space: nowrap; }
.footer nav { margin-top: 25px; }
@media(max-width:1100px) {
  .content-type-whitepaper .type-opening { grid-template-columns: minmax(0,1fr) 270px; gap: 40px; }
  .content-type-whitepaper .type-cover img { height: 340px; }
  .content-type-whitepaper .type-body-layout { grid-template-columns: 175px minmax(0,1fr); gap: 40px; }
  .publication-feed { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-feed h2 { font-size: 38px; }
}
@media(max-width:800px) {
  .feature-feed + .publication-feed > .feed-story:nth-child(-n+2) { grid-column: auto; display: block; }
  .feature-feed + .publication-feed > .feed-story:nth-child(-n+2) h2 { margin-top: 22px; }
  .content-type-whitepaper .type-opening,.content-type-lab .type-opening { grid-template-columns: 1fr; gap: 30px; }
  .content-type-whitepaper .type-cover img { height: 260px; object-position: center; }
  .content-type-whitepaper .type-body-layout { display: block; }
  .report-contents { position: static; margin-bottom: 35px; }
  .content-type-lab .type-cover img { max-height: 440px; }
}
@media(max-width:640px) {
  .archive-heading { font-size: 36px; overflow-wrap: anywhere; }
  .type-preview-grid { grid-template-columns: 1fr; }
  .type-body-layout,.content-type-whitepaper > .article-header,.content-type-lab > .article-header,.content-type-whitepaper .type-body-layout { width: calc(100% - 40px); }
  .content-type-whitepaper .article-header h1,.content-type-lab .article-header h1 { font-size: 36px; letter-spacing: -.65px; }
  .feature-feed { padding-top: 30px; }
  .feature-feed .feed-story { display: block; }
  .feature-feed h2 { font-size: 35px; margin-top: 25px; }
  .publication-feed { gap: 35px 20px; margin-top: 40px; }
  .publication-feed h2 { font-size: 21px; }
  .publication-feed .summary { font-size: 16px; }
}
@media(max-width:380px) { .publication-feed { grid-template-columns: 1fr; } }
@media print {
  .type-body-layout,.content-type-whitepaper .type-body-layout { width: 100%; display: block; }
  .report-contents,.report-download,.type-cover { display: none !important; }
  .content-type-whitepaper .type-opening,.content-type-lab .type-opening { display: block; }
}
