/* Whanganui editorial pair. Scopes preserve the established site typography. */
.river-article .article-standfirst a { color: inherit; border-bottom: 1px solid #c99632; text-decoration:none; }
.river-article .article-body a { overflow-wrap: anywhere; }
.river-article .article-body > p:first-child { margin-top: 1.25rem; }
.river-article .companion-jumps { margin: 1.5rem 0 2rem; padding: 18px 20px; background:#f5f0e6; border-left: 3px solid #c99632; line-height: 2; font-size: .89rem; }
.river-article .companion-jumps a { white-space: nowrap; color: #604516; border-bottom: 1px solid #c99632; text-decoration: none; }
.river-article .article-body > h2 { scroll-margin-top: 20px; border-top: 1px solid #ded8ce; padding-top: 1.55rem; margin-top:2.9rem; }
.river-article .article-body > ul { padding-left:1.4rem; }
.river-article .article-body > ul li { padding:.45rem 0; line-height:1.65; }
.river-article .companion-return { margin: 3rem 0; padding-top:1.5rem; border-top:1px solid #d1b77e; font-weight:bold; }
.river-article .article-hero img { min-height: 250px; object-fit:cover; }
@media(max-width:700px) {.river-article .companion-jumps {line-height:2.3;} .river-article .article-hero img {min-height:190px;} }

/* Research chronologies: readable tables on desktop, stacked entries on phones. */
.river-article .research-table-wrap { margin: 1.5rem 0 2rem; max-width: 100%; }
.river-article .research-table { width:100%; border-collapse:collapse; font-size:.95rem; line-height:1.6; table-layout:fixed; }
.river-article .research-table th { text-align:left; background:#f4efe6; color:#463e35; font-weight:700; }
.river-article .research-table th, .river-article .research-table td { padding:.8rem .9rem; border-bottom:1px solid #ddd5c8; vertical-align:top; overflow-wrap:break-word; }
.river-article .research-table th:first-child, .river-article .research-table td:first-child { width:25%; }
.river-article .research-table tr:nth-child(even) td { background:#faf8f3; }
@media(max-width:620px) {
 .river-article .research-table-wrap { overflow:visible; }
 .river-article .research-table, .river-article .research-table tbody, .river-article .research-table tr, .river-article .research-table td { display:block; width:100%; }
 .river-article .research-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
 .river-article .research-table tr { border:1px solid #ded6c8; border-radius:8px; margin:0 0 .85rem; overflow:hidden; background:#fffdf9; }
 .river-article .research-table td, .river-article .research-table td:first-child { width:auto; border:0; }
 .river-article .research-table td:first-child { padding:.65rem .8rem .2rem; font-weight:700; color:#675132; background:#f5f0e6; }
 .river-article .research-table td + td { padding:.65rem .8rem .85rem; background:transparent; }
 .river-article .research-table tr:nth-child(even) td { background:transparent; }
 .river-article .research-table tr:nth-child(even) td:first-child { background:#f5f0e6; }
}
