/* Shared river components. Site hero and content card contracts are unchanged. */
.world-rivers{--river-accent:#3277ae;min-width:0;color:inherit;font-weight:400}
#page-directory .world-rivers{--river-accent:#69538b}
.world-rivers [hidden]{display:none!important}
.world-rivers__filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:18px 0 12px}
.world-rivers label{display:block;font-size:13px;line-height:1.6;font-weight:500;min-width:0}
.world-rivers__search{flex:1 1 100%}
.world-rivers :is(input,select){display:block;width:100%;box-sizing:border-box;min-height:44px;margin-top:6px;padding:10px;border:1px solid #d4dfeb;border-radius:6px;background:#fff;color:inherit;font:inherit;font-size:14px}
.world-rivers :is(button,.world-rivers__button){min-height:44px;box-sizing:border-box;border:1px solid #ccd9e5;border-radius:6px;padding:10px 14px;background:#f6f8fb;color:inherit;font:inherit;font-size:14px;cursor:pointer}
.world-rivers :is(button,input,select,a):focus-visible{outline:2px solid var(--river-accent);outline-offset:3px}
.world-rivers__table{width:100%;table-layout:fixed;border-collapse:collapse}
.rgex-full-reference .world-rivers__table :is(td,th),#page-directory .world-rivers__table :is(td,th){text-align:left;vertical-align:top;white-space:normal;overflow-wrap:anywhere;line-height:1.7;font-size:14px;font-weight:400;padding:16px 6px;border-bottom:1px solid #e5eaf1}
.rgex-full-reference .world-rivers__table th,#page-directory .world-rivers__table th{background:transparent!important;color:#657588!important;font-size:12px!important;font-weight:600!important}
.world-rivers__table :is(td,th):first-child{width:34%}
.world-rivers__table :is(td,th):last-child{width:66%;padding-left:12px!important}
.world-rivers__table strong{font-size:inherit!important;font-weight:650}
.world-rivers__table td span{display:block;margin-top:4px}
.world-rivers__row-links{font-size:12px}
.world-rivers__count,.world-rivers__note{color:#62758a;font-size:13px;line-height:1.75;margin:12px 0}
.world-rivers__error{font-size:14px;line-height:1.7}
.world-rivers__directory-search{margin:15px 0}
.world-rivers__map-controls{display:flex;align-items:end;gap:10px;margin:16px 0}
.world-rivers__map-controls label{flex:1}
.world-rivers__map-scroll{overflow:auto;max-width:100%;border:1px solid #dce7ee;border-radius:6px;background:#c8e0ed;overscroll-behavior-x:contain}
.world-rivers__map-scroll svg{display:block;width:100%;min-width:620px;height:auto;aspect-ratio:2/1}
.world-rivers--selected .world-rivers__map-scroll svg{min-width:0}
.world-rivers__lines path{fill:none;stroke:#2a74aa;stroke-width:1;vector-effect:non-scaling-stroke;opacity:.8}
.world-rivers__lines text{font:600 17px system-ui,sans-serif;fill:#183b55;stroke:#fff;stroke-width:3px;paint-order:stroke;stroke-linejoin:round}
.world-rivers__lines [data-river-label]{display:none}
.world-rivers__lines [data-river-label="Q3783"],.world-rivers__lines [data-river-label="Q3392"],.world-rivers__lines [data-river-label="Q5413"],.world-rivers__lines [data-river-label="Q626"],.world-rivers__lines [data-river-label="Q3503"],.world-rivers__lines [data-river-label="Q1497"]{display:block}
.world-rivers--selected .world-rivers__lines path{opacity:.3}
.world-rivers--selected .world-rivers__lines path.is-selected{opacity:1;stroke:#c44b13;stroke-width:3}
.world-rivers--selected .world-rivers__lines text{display:none}
.world-rivers--selected .world-rivers__lines text.is-selected{display:block}
.world-rivers__map-status{font-size:13px;line-height:1.7}
.rgex-reference.rgex-full-reference .world-rivers .world-rivers__table :is(td,th){vertical-align:top!important;text-align:left;white-space:normal;overflow-wrap:anywhere}
.rgex-reference.rgex-full-reference .world-rivers .world-rivers__table th{color:#657588!important;background:transparent!important;font-size:12px!important;font-weight:600!important}
@media(max-width:600px){.world-rivers__filters>label:not(.world-rivers__search){flex:1 1 40%}.world-rivers__filters button{width:100%}.world-rivers__map-controls{flex-wrap:wrap}.world-rivers__map-controls label{flex-basis:100%}.rgex-full-reference .world-rivers__table :is(td,th),#page-directory .world-rivers__table :is(td,th){font-size:13px;padding:13px 3px}.world-rivers__table :is(td,th):last-child{padding-left:8px!important}.world-rivers__table :is(td,th):first-child{width:39%}.world-rivers__table :is(td,th):last-child{width:61%}}
@media(max-width:480px){.world-rivers__filters>label:not(.world-rivers__search){flex-basis:100%}}
.world-rivers--directory .world-rivers__summary{font-size:15px;line-height:1.9;margin:0 0 18px}
.rgex-reference.rgex-full-reference .world-rivers--directory .world-rivers__table :is(td,th):first-child,#page-directory .world-rivers--directory .world-rivers__table :is(td,th):first-child{width:68%;padding-left:0;text-align:left}
.rgex-reference.rgex-full-reference .world-rivers--directory .world-rivers__table :is(td,th):last-child,#page-directory .world-rivers--directory .world-rivers__table :is(td,th):last-child{width:32%;padding-right:0;text-align:right!important;font-variant-numeric:tabular-nums}
.world-rivers--directory [data-world-directory-more]{margin-top:16px}
@media(max-width:480px){.rgex-reference.rgex-full-reference .world-rivers--directory .world-rivers__table :is(td,th):first-child,#page-directory .world-rivers--directory .world-rivers__table :is(td,th):first-child{width:60%}.rgex-reference.rgex-full-reference .world-rivers--directory .world-rivers__table :is(td,th):last-child,#page-directory .world-rivers--directory .world-rivers__table :is(td,th):last-child{width:40%}.world-rivers--directory .world-rivers__table th:last-child{overflow-wrap:normal;word-break:normal}}
