/* Editorial layer: retain the portfolio palette, cards, and typography. */
.scientific-blog { border-top: 1px solid var(--line); }
.blog-intro { max-width: 780px; margin-bottom: 46px; }
.blog-intro .eyebrow { display: block; margin-bottom: 18px; }
.blog-intro h2 { margin-bottom: 20px; }
.blog-intro .blog-subtitle { font: 500 20px/1.65 Manrope,sans-serif; color: var(--ink); }
.blog-intro p { font-size: 15px; color: var(--muted); }
.story-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.story-card { min-width: 0; background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.story-card-image { display: block; height: 230px; background: white; border-bottom: 1px solid var(--line); padding: 18px; }
.story-card-image img { width: 100%; height: 100%; object-fit: contain; }
.story-card-body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.story-card .eyebrow { font-size: 9px; }
.story-card h3 { font-size: 25px; letter-spacing: -.7px; line-height: 1.35; margin: 15px 0; }
.story-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.story-card p { font-size: 14px; color: var(--muted); }
.story-card-keywords { font-size: 11px; color: var(--green); margin: 8px 0 26px; }
.story-card-footer { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; margin-top: auto; font-size: 11px; }
.story-card-footer > span { color: var(--muted); }
.story-card-footer a { font-weight: 600; color: var(--ink); }
.research-story { padding: 64px 0 82px; }
.story-text-column { width: min(740px,calc(100% - 64px)); margin-inline: auto; }
.story-header { margin-bottom: 42px; }
.story-back { display: block; font-size: 12px; color: var(--muted); margin-bottom: 42px; }
.story-header .eyebrow { display: block; margin-bottom: 19px; }
.story-header h1 { font-size: clamp(36px,4.6vw,60px); letter-spacing: -1.8px; line-height: 1.15; margin: 0 0 25px; overflow-wrap: break-word; }
.story-standfirst { font: 400 21px/1.65 Manrope,sans-serif; color: var(--text); }
.story-byline { font-size: 12px; color: var(--muted); margin: 25px 0 18px; }
.story-byline span { padding-inline: 7px; }
.story-keywords { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.story-keywords li { font-size: 11px; color: var(--green); border: 1px solid var(--line); padding: 4px 10px; border-radius: 20px; }
.story-hero { width: min(1060px,calc(100% - 64px)); margin: 0 auto 56px; }
.story-hero img { width: auto; max-width: 100%; height: auto; margin-inline: auto; max-height: 780px; object-fit: contain; background: white; border-radius: 10px; }
.story-hero figcaption { font-size: 11px; line-height: 1.65; color: var(--muted); max-width: 740px; margin: 14px auto 0; }
.story-hero figcaption a { display: inline-block; margin-left: 6px; text-decoration: underline; text-underline-offset: 3px; }
.story-prose { font-size: 17px; line-height: 1.9; }
.story-prose > p { margin-bottom: 23px; }
.story-prose h1 { font-size: 38px; line-height: 1.25; letter-spacing: -1px; margin: 44px 0 22px; }
.story-prose h2 { font-size: 30px; line-height: 1.3; letter-spacing: -.7px; margin: 48px 0 22px; }
.story-prose h2:first-child { margin-top: 0; }
.story-prose h3 { font-size: 23px; letter-spacing: -.4px; margin: 34px 0 16px; }
.story-prose a, .story-references a { color: var(--ink); text-decoration: underline; text-decoration-color: #a5bba8; text-underline-offset: 4px; overflow-wrap: anywhere; }
.story-prose .external-link::after { content: " ↗"; font-size: .75em; color: var(--green); }
.story-prose blockquote { margin: 30px 0; border-left: 3px solid #bfd2a6; padding: 8px 0 8px 24px; color: var(--green); }
.story-prose blockquote p:last-child { margin-bottom: 0; }
.story-prose li { margin-bottom: 10px; }
.story-prose img { height: auto; margin: 25px auto; }
.story-prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.story-table { max-width: 100%; overflow-x: auto; margin: 30px 0; border: 1px solid var(--line); border-radius: 8px; }
.story-table table { border-collapse: collapse; width: 100%; min-width: 590px; font-size: 14px; line-height: 1.65; }
.story-table th { background: var(--tint); text-align: left; color: var(--ink); font-weight: 600; }
.story-table th, .story-table td { padding: 15px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
.story-table tr:last-child td { border-bottom: 0; }
.story-glance { margin-block: 48px; background: #eef3e5; border: 1px solid #d5e1c9; border-radius: 12px; padding: 30px 34px; }
.story-glance h2 { font-size: 24px; letter-spacing: -.5px; margin: 12px 0 18px; }
.story-glance ul { margin: 0; padding-left: 19px; font-size: 15px; }
.story-glance li + li { margin-top: 10px; }
.story-references { margin-block: 52px; }
.story-references h2, .story-contact h2 { font-size: 29px; letter-spacing: -.6px; margin-top: 15px; }
.story-references ol { padding-left: 22px; margin: 0; }
.story-references li { padding: 24px 0 24px 7px; border-bottom: 1px solid var(--line); }
.story-references li::marker { color: var(--green); font-size: 12px; }
.story-references h3 { font-size: 17px; line-height: 1.5; margin: 0 0 10px; }
.story-reference-authors { font-size: 12px; line-height: 1.8; color: var(--muted); margin-bottom: 9px; }
.story-reference-venue { font-size: 12px; margin-bottom: 12px; }
.story-reference-links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; }
.story-demos { border-bottom: 1px solid var(--line); padding-bottom: 34px; margin-bottom: 45px; }
.story-demos h2 { font-size: 25px; letter-spacing: -.5px; }
.story-demos p { font-size: 14px; color: var(--muted); }
.story-contact { padding-top: 32px; border-top: 1px solid var(--line); }
.story-contact p { font-size: 16px; line-height: 1.85; color: var(--muted); }
.story-next { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); margin-top: 50px; padding-top: 28px; font-size: 12px; }
.story-next a:last-child { max-width: 60%; text-align: right; }
.topic-story-link { margin: 24px 0 34px; }
@media (max-width: 1000px) {
  .story-card-body { padding: 23px; }
  .story-card h3 { font-size: 22px; }
  .story-grid { gap: 22px; }
}
@media (max-width: 700px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-card-image { height: 205px; }
  .blog-intro .blog-subtitle { font-size: 18px; }
  .research-story { padding-block: 38px 56px; }
  .story-text-column, .story-hero { width: calc(100% - 36px); }
  .story-back { margin-bottom: 30px; }
  .story-header h1 { font-size: 38px; letter-spacing: -1.3px; }
  .story-standfirst { font-size: 18px; }
  .story-prose { font-size: 16px; line-height: 1.85; }
  .story-prose h2 { font-size: 26px; margin-top: 37px; }
  .story-glance { padding: 24px; }
  .story-hero { margin-bottom: 38px; }
}
