.stream-edition {
  --ocean: var(--mast-light,#083654); --deep: #092b44; --glacier: #76d7f8; --ice: #e0f1fa;
  --stream-ink: #122e44; --stream-muted: #4c667b; --stream-link: var(--link-light,#06679c);
  --stream-line: #ccdeea; --paper: var(--paper-light,#fcfdff); --footer-bg: var(--footer-light,#092b44);
  color: var(--stream-ink); background: var(--paper);
  font: 16px/1.55 Manrope, Arial, sans-serif;
}
.stream-edition .shell { width: min(var(--site-width,78rem), calc(100% - clamp(2rem,7vw,7.5rem))); margin-inline: auto; }
.stream-edition :focus-visible { outline: 3px solid #007aad; outline-offset: 3px; }
.stream-edition .masthead { color: white; background: var(--ocean); border: 0; position: relative; z-index: 4; }
.stream-edition .mast-row { min-height: 4.65rem; gap: clamp(1.3rem,4vw,4.6rem); }
.stream-edition ::selection { background: #c6e8fa; color: var(--deep); }
.stream-edition .masthead :focus-visible { outline-color: #9de7ff; }
.stream-edition #primary-links .developer-directory > ul :focus-visible { outline-color: #0077a9; }
.stream-edition .identity { margin: 0; }
.stream-edition .custom-logo { width: clamp(9rem,13vw,12.25rem); max-height: 3.2rem; object-fit: contain; }
.stream-edition .water-brand { display: inline-flex; align-items: center; gap: .45rem; color: #fff; text-decoration: none; line-height: 1; }
.water-brand img { width: 2.9rem; height: 2.9rem; display: block; }
.brand-initials { font: 800 2.2rem/.95 Manrope,Arial,sans-serif; letter-spacing: -.075em; }
.brand-name { font: 650 .79rem/1.05 Manrope,Arial,sans-serif; letter-spacing: -.012em; color: #c4e7ff; }
.stream-edition #primary-links > ul > li > a, .stream-edition .sub-toggle, .stream-edition .nav-toggle { color: white; font: 680 .93rem/1.4 Manrope,Arial,sans-serif; }
.stream-edition #primary-links > ul > li > :is(a,button):hover, .stream-edition #primary-links > ul > li > [aria-expanded=true] { color: var(--glacier); }
.header-search { display: flex; align-items: stretch; margin-left: auto; width: clamp(12rem,19vw,17rem); border: 1px solid #82adc6; border-radius: .4rem; overflow: hidden; background: #f3faff; color: var(--deep); }
.header-search label { flex: 1; min-width: 0; }
.header-search input { display: block; width: 100%; min-width: 0; border: 0; padding: .58rem .75rem; background: transparent; color: inherit; font: 550 .9rem/1.45 Manrope,Arial,sans-serif; }
.header-search input::placeholder { color: #536d80; opacity: 1; }
.header-search button { display: grid; place-items: center; flex: 0 0 2.75rem; padding: 0; border: 0; background: transparent; color: var(--ocean); }
.header-search button:hover { background: #d3eaf7; }
.stream-edition .header-search input:focus { outline: none; box-shadow: none; }
.stream-edition .header-search button:focus-visible { outline-offset: -4px; outline-color: currentColor; }
@media (forced-colors: active) {
  .stream-edition .header-search input:focus-visible { outline: 1px solid Highlight; outline-offset: -2px; }
}
.header-search i { position: relative; display: block; width: .9rem; height: .9rem; border: 1.8px solid currentColor; border-radius: 50%; }
.header-search i::after { content: ''; position: absolute; width: .45rem; height: 1.8px; right: -.28rem; bottom: -.14rem; transform: rotate(45deg); background: currentColor; }
.stream-edition .search-submit { background: var(--ocean); }
.stream-edition .search-field { border-color: #91adbf; }
.stream-edition #primary-links .developer-directory { position: static; }
.stream-edition #primary-links .developer-directory > ul {
  position: absolute; z-index: 4; top: 100%; left: 0; right: 0; width: auto; max-height: min(70vh,36rem);
  margin: 0; padding: 1.4rem; overflow: auto; border: 1px solid var(--stream-line); border-top: 4px solid #4fb8e3;
  background: #fff; color: var(--stream-ink); box-shadow: 0 20px 30px #052e4d24;
}
.stream-edition #primary-links:not(.nav-ready) li:not(:hover):not(:focus-within) > ul { display: none; }
.stream-edition #primary-links > ul > .current-menu-item > a { text-decoration: underline; text-underline-offset: .35rem; }
.stream-edition #primary-links.nav-ready .developer-directory > ul {
  display: grid; grid-template-columns: minmax(12rem, 26%) minmax(0,1fr);
  grid-template-rows: repeat(var(--group-count,3),max-content) 1fr; column-gap: 1.65rem; align-items: start;
}
.stream-edition #primary-links.nav-ready .developer-directory > ul > li { display: contents; }
.stream-edition #primary-links .developer-directory > ul > li > .sub-toggle {
  grid-column: 1; grid-row: calc(var(--group-row) + 1); display: flex; justify-content: space-between; gap: .75rem; width: 100%;
  padding: .85rem .95rem; margin-bottom: .3rem; text-align: left; color: var(--ocean); border-radius: .4rem; background: #edf6fc;
}
.stream-edition #primary-links .developer-directory > ul > li > .sub-toggle[aria-expanded=true] { background: var(--ocean); color: white; }
.stream-edition #primary-links .developer-directory > ul > li > .sub-toggle::after { transform: rotate(-45deg); flex: none; }
.stream-edition #primary-links .developer-directory > ul > li > ul {
  grid-column: 2; grid-row: 1 / span calc(var(--group-count,3) + 1);
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(10rem,100%),1fr)); gap: .15rem 1.25rem;
  padding: 0 0 .4rem 1.5rem; border-inline-start: 1px solid var(--stream-line); background: transparent; align-content: start; min-height: 100%;
}
.stream-edition #primary-links .developer-directory li li > a { display: flex; align-items: center; gap: .55rem; padding: .46rem .25rem; color: var(--ocean); font: 640 .88rem/1.4 Manrope,Arial,sans-serif; }
.stream-edition #primary-links .developer-directory li li > a:hover { color: var(--stream-link); text-decoration: underline; background: #edf6fc; }
.developer-directory li:has(> .directory-subheading) { grid-column: 1/-1; }
.directory-subheading { display: block; color: var(--stream-muted); font-weight: 750; font-size: .79rem; border-bottom: 1px solid var(--stream-line); padding: .3rem .25rem .4rem; }
.developer-directory li:not(:first-child) > .directory-subheading { margin-top: .6rem; }

.listing-title { margin: 0 0 1.4rem; color: var(--deep); font: 760 clamp(1.7rem,3vw,2.7rem)/1.18 var(--heading); letter-spacing: -.035em; }
.stream-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, 18.8rem); align-items: start; gap: clamp(1.5rem, 3.4vw, 3.4rem); padding-block: clamp(1.4rem,2.7vw,2.45rem) clamp(2rem,4vw,4rem); }
.stream-column, .stream-aside, .stream-copy { min-width: 0; }
.stream-card { border-top: 1px solid var(--stream-line); padding-block: 1.5rem; }
.stream-card.with-cover { display: grid; grid-template-columns: minmax(0,1fr) minmax(9rem,29%); gap: clamp(1rem,2vw,2rem); align-items: start; }
.stream-list .stream-card:first-child { padding-top: 0; border-top: 0; }
.stream-list .stream-card:first-child.with-cover { grid-template-columns: minmax(0,1.04fr) minmax(0,1fr); align-items: stretch; }
.stream-list .stream-card:first-child .stream-image { order: -1; }
.stream-image { display: block; background: var(--ice); align-self: start; border-radius: var(--image-radius,7px); overflow: hidden; }
.stream-image img { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.stream-list .stream-card:first-child .stream-image, .stream-list .stream-card:first-child .stream-image img { height: 100%; min-height: 14rem; }
.stream-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .7rem; font-size: .75rem; color: var(--stream-muted); font-variant-numeric: tabular-nums; }
.channel { color: var(--stream-link); font-weight: 800; text-decoration: none; }
.read-time::before { content: '·'; margin-right: .55rem; }
.stream-card .story-title, .stream-article h1 { color: var(--deep); font-family: var(--heading); font-weight: 780; letter-spacing: -.038em; text-wrap: pretty; }
.stream-card .story-title { font-size: clamp(1.24rem,1.8vw,1.65rem); line-height: 1.22; margin: .52rem 0; }
.stream-card:first-child .story-title { font-size: clamp(1.55rem,2.4vw,2.25rem); line-height: 1.13; }
.stream-card .story-title a, .archive-list a { color: inherit; text-decoration: none; }
.stream-card .story-title a:hover, .archive-list a:hover { color: var(--stream-link); text-decoration: underline; }
.stream-tags { display: flex; flex-wrap: wrap; gap: .1rem .75rem; font: 600 .76rem/1.6 Manrope,Arial,sans-serif; }
.stream-tags a { color: var(--stream-link); text-decoration: none; }
.stream-tags a::before { content: '#'; opacity: .7; }
.stream-tags a:hover { text-decoration: underline; }
.stream-excerpt { color: #364f63; font-size: .96rem; line-height: 1.65; margin: .65rem 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { display: inline-flex; align-items: center; gap: .55rem; color: var(--stream-link); text-decoration: none; font-weight: 740; font-size: .85rem; }
.read-more:hover { text-decoration: underline; }
.stream-aside { display: grid; gap: 1.4rem; }
.side-section { padding: .2rem 1.1rem .95rem; background: #edf6fc; border-top: 3px solid #3196c5; }
.side-section h2, .side-section .widget h2 { font: 770 1.17rem/1.3 var(--heading); color: var(--ocean); margin: 0 0 .1rem; padding: .8rem 0 .55rem; letter-spacing: -.025em; }
.news-tags { background: var(--ice, #edf6fb); padding: 1rem; border-top: 3px solid var(--ocean); }
.news-tags h2 { margin: 0 0 .85rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line, #a5c5d5); }
.tag-links { display: flex; flex-wrap: wrap; gap: .42rem .45rem; }
.tag-links a { display: inline-flex; align-items: center; min-height: 1.85rem; max-width: 100%; overflow-wrap: anywhere; padding: .24rem .6rem; border: 1px solid #bed6e3; color: var(--stream-link); background: white; border-radius: .45rem; font-size: .82rem; font-weight: 650; text-decoration: none; }
.tag-links a:hover, .tag-links [aria-current] { color: white; background: var(--ocean); }
.side-section ul { list-style: none; padding: 0; margin: 0; }
.archive-list li, .side-section .hpclc-recent li { padding: .7rem 0; border-top: 1px solid var(--stream-line); border-bottom: 0; }
.side-section .archive-list a, .side-section .hpclc-recent a { color: var(--stream-ink); font: 680 .9rem/1.4 Manrope,Arial,sans-serif; }
.side-section time { display: block; color: var(--stream-muted); font: 500 .71rem/1.3 Manrope,Arial,sans-serif; margin-top: .26rem; }

.back-row { margin: 0 0 1.15rem; }
.back-row a { color: var(--stream-link); font-weight: 680; font-size: .84rem; text-decoration: none; }
.stream-article header { padding-bottom: 1.3rem; margin-bottom: 1.5rem; border-bottom: 2px solid #b0d7ed; }
.stream-article h1 { font-size: clamp(2rem,3.65vw,3.45rem); line-height: 1.09; margin: .65rem 0 .9rem; }
.stream-text { max-width: var(--story-width,45rem); font: 470 var(--body-size,18px)/1.74 Manrope,Arial,sans-serif; }
.stream-edition.single-post .stream-text > p.wp-block-paragraph:first-child { font: 570 1.09em/1.58 Manrope,Arial,sans-serif; color: var(--ocean); }
.stream-text .wp-block-image img { border-radius: var(--image-radius,7px); }
.stream-text a { color: var(--stream-link); }
.stream-text .yarpp { background: #edf6fc; }
.stream-empty { padding-block: 1.6rem; }
.stream-edition .pagination { border-top: 1px solid var(--stream-line); padding-top: 1rem; }
.stream-edition .page-numbers { color: var(--stream-link); }
.stream-edition .page-numbers.current { background: var(--ocean); color: white; }

.edition-footer { background: var(--footer-bg,var(--deep)); color: #f1f8fe; border-top: .35rem solid var(--glacier); }
.footer-main { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.8fr); gap: clamp(1.5rem,5vw,5rem); padding-block: clamp(2rem,4vw,3.8rem) 2rem; }
.footer-identity p { margin: .85rem 0 0; max-width: 24rem; color: #c6ddeb; font-size: .96rem; }
.footer-main h2 { font: 720 .91rem/1.4 Manrope,Arial,sans-serif; color: var(--glacier); margin: 0 0 .7rem; }
.edition-footer a { color: #edf7ff; text-decoration: none; }
.edition-footer a:not(.water-brand):hover { color: var(--glacier); text-decoration: underline; }
.edition-footer :focus-visible { outline-color: var(--glacier); }
.edition-footer .footer-links { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem; border-top: 1px solid #39637e; margin-top: 1rem; padding: 1rem 0 1.5rem; font-size: .8rem; }
.footer-bottom a { color: #c2dbe9; }
.footer-bottom {align-items:center}
.footer-actions,.footer-social {display:flex;align-items:center;gap:.45rem}
.footer-actions {margin-inline-start:auto}
.footer-top-slot {display:grid;width:44px;height:44px}
.footer-top-slot:has([hidden]) {display:none}
.footer-top-slot.in-view .back-to-top {position:static}
.edition-footer .footer-social a,.edition-footer .back-to-top {box-sizing:border-box;width:44px;height:44px}
.edition-footer .footer-social a,.edition-footer .footer-top-slot.in-view .back-to-top {background:transparent;box-shadow:none;display:grid;place-items:center;border-radius:50%;border:1px solid #547988;color:var(--footer-link,#d2e6f4);text-decoration:none}
.edition-footer .footer-social a:is(:hover,:focus-visible),.edition-footer .footer-top-slot.in-view .back-to-top:is(:hover,:focus-visible) {background:#164963;color:white}
.footer-social svg {width:20px;height:20px;fill:currentColor}
@media (max-width: 62rem) {
  .header-search { width: min(17rem,35vw); margin-left: 0; }

  .stream-edition .mast-row { min-height: 4.1rem; gap: 1.05rem; }
  .stream-edition .identity { margin-right: auto; }
  .stream-edition #primary-links > ul > li > :is(a,button) { width: 100%; padding: .65rem .15rem; }
  .stream-edition #primary-links .developer-directory > ul { position: static; max-height: none; padding: .6rem; box-shadow: none; border: 0; border-radius: .4rem; }
  .stream-edition #primary-links.nav-ready .developer-directory > ul { display: block; }
  .stream-edition #primary-links.nav-ready .developer-directory > ul > li { display: block; }
  .stream-edition #primary-links .developer-directory > ul > li > .sub-toggle { min-height: 2.75rem; }
  .stream-edition #primary-links .developer-directory > ul > li > .sub-toggle::after { transform: rotate(45deg); }
  .stream-edition #primary-links .developer-directory > ul > li > .sub-toggle[aria-expanded=true]::after { transform: rotate(225deg); }
  .stream-edition #primary-links .developer-directory > ul > li > ul { min-height: 0; border: 0; padding: .3rem .6rem .8rem; }
  .stream-edition #primary-links .developer-directory li li > a { min-height: 2.65rem; }
  .stream-grid { grid-template-columns: minmax(0,1fr) minmax(12rem,15.5rem); gap: 1.4rem; }
  .stream-list .stream-card:first-child.with-cover { grid-template-columns: 1fr; }
  .stream-list .stream-card:first-child .stream-image img { aspect-ratio: 2.25; min-height: 0; }
  .stream-list .stream-card:first-child .stream-image { min-height: 0; }
}
@media (max-width: 49rem) {
  .tag-links a { min-height: 2.25rem; }
  .stream-grid { grid-template-columns: minmax(0,1fr); gap: 1.8rem; }
  .stream-aside { grid-template-columns: minmax(0,1fr); align-items: start; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 35rem) {
  .stream-edition .mast-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem .85rem; padding-block: .6rem; }
  .stream-edition .mast-row .header-search { grid-column: 1/-1; grid-row: 2; width: 100%; }
  .stream-edition .mast-row #primary-links { grid-column: 1/-1; grid-row: 3; }
  .stream-edition .mast-row .nav-toggle { grid-column: 2; grid-row: 1; min-height: 2.6rem; }
  .header-search input, .header-search button { min-height: 2.75rem; }
  .header-search input { font-size: 1rem; }
  .stream-edition .shell { width: calc(100% - 2rem); }
  .stream-meta { font-size: .74rem; }
  .stream-card:not(:first-child) .stream-meta .read-time { display: none; }
  .stream-edition .read-more { min-height: 2.6rem; }
  .stream-edition .mast-row { min-height: 4rem; }
  .water-brand img { width: 2.15rem; height: 2.15rem; }
  .brand-initials { font-size: 1.73rem; }
  .brand-name { font-size: .67rem; }
  .stream-card.with-cover { grid-template-columns: minmax(0,1fr) 5.2rem; gap: .75rem; }
  .stream-card:not(:first-child) .stream-image img { aspect-ratio: 1; }
  .stream-card:not(:first-child) .stream-excerpt { display: none; }
  .stream-card:first-child .stream-image img { aspect-ratio: 1.95; }
  .stream-card:first-child .story-title { font-size: 1.63rem; }
  .stream-card .story-title { font-size: 1.2rem; }
  .stream-grid { padding-top: 1.15rem; }
  .stream-edition #primary-links .developer-directory > ul > li > ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .1rem .5rem; }
  .footer-main { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer-main .footer-links { display: flex; gap: .6rem 1rem; flex-wrap: wrap; }
}

.stream-edition.fixed-mast .masthead { position: sticky; top: var(--wp-admin--admin-bar--height,0px); }

.news-lead-image { display: flow-root; margin: .35rem 0 clamp(1.3rem,3vw,2rem); text-align: center; }
.stream-text .news-lead-image :is(p,figure,div,a) { float: none; margin: 0 auto; max-width: 100%; }
.stream-text .news-lead-image img { display: block; float: none; margin: 0 auto; height: auto; max-width: 100%; border-radius: var(--image-radius,7px); }
.stream-text .news-lead-image figcaption { margin-top: .55rem; font-size: .85rem; line-height: 1.5; color: var(--stream-muted,#426077); }
.footer-main { grid-template-columns: minmax(12rem,.85fr) minmax(7rem,.45fr) minmax(0,2fr); gap: clamp(1.5rem,4vw,4rem); }
.footer-main .footer-links { flex-direction: column; align-items: flex-start; }
.footer-categories ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem clamp(.55rem,1.5vw,1.4rem); font-size: .9rem; }
.footer-categories li { margin: 0; }
.stream-text .editorial-intro { color: var(--ocean); font-size: 1.22em; line-height: 1.55; margin: .65rem 0 1.6rem; }
.resource-index { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; padding: 1rem 0; border-block: 1px solid #bad5e5; }
.resource-index a { font-size: .85rem; font-weight: 650; }
.resource-library section,.about-project section { margin-block: 2rem; scroll-margin-top: 8rem; }
.resource-library h2,.about-project h2 { font-size: clamp(1.24rem,2.4vw,1.7rem); line-height: 1.25; color: var(--ocean); margin: 0 0 .9rem; }
.resource-library ul,.about-routes { list-style: none; padding: 0; margin: 0; }
.resource-library li { border-bottom: 1px solid #d5e4ec; padding: .8rem 0; margin: 0; }
.resource-library li a { display: block; font-size: .99em; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.resource-library li small { display: block; color: #46647a; font-size: .77rem; margin-top: .1rem; }
.about-project .about-routes { display: grid; gap: .55rem; border-left: 3px solid #70acca; padding-left: 1rem; }
.about-contact { padding: clamp(1rem,3vw,1.7rem); background: #eaf5fa; border-radius: var(--image-radius,7px); }
.about-contact address { font-style: normal; display: grid; gap: .45rem; }
@media(max-width: 54rem){.footer-main{grid-template-columns: 1fr 1fr}.footer-categories{grid-column: 1 / -1}}
@media(max-width: 38rem){.footer-main{grid-template-columns: 1fr}.footer-main .footer-links{flex-direction:row}.footer-categories ul{gap:.65rem .7rem;font-size:.81rem}}
.footer-categories a { overflow-wrap:anywhere; hyphens:auto; }

.library-page,.about-page { padding-block: clamp(1.25rem,3vw,2.7rem) clamp(2.5rem,5vw,5rem); }
.library-page .stream-text { max-width:none; }
:is(.library-page,.about-page) .stream-article > header { border:0; padding:0; margin-bottom:.75rem; }
:is(.library-page,.about-page) .stream-article h1 { margin:.25rem 0; font-size:clamp(2.5rem,5vw,4.7rem); }
:is(.library-page,.about-page) .editorial-intro { max-width:55ch; margin:.2rem 0 1.4rem; font-size:clamp(1.05rem,1.55vw,1.35rem); }
.library-page .resource-index { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0 0 clamp(1.3rem,3vw,2.2rem); padding:.7rem 0; gap:0 1.4rem; }
.library-page .resource-index a { display:inline-flex; align-items:center; min-height:2.5rem; text-decoration:none; }
.library-page .resource-index a:hover,.library-page .resource-index a:focus-visible { text-decoration:underline; }
.library-collections { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1.7rem,3vw,3rem) clamp(1.3rem,3.8vw,3.8rem); align-items:start; }
.resource-library .library-collection { min-width:0; margin:0; scroll-margin-top:7rem; border-top:2px solid #4986a6; }
.resource-library .library-collection:has(.collection-cover) { border-top:0; }
.resource-library .collection-cover { display:block; width:100%; height:auto; aspect-ratio:3.3; object-fit:cover; border-radius:var(--image-radius,7px); margin:0 0 .4rem; }
.collection-head { display:grid; gap:.3rem; padding:.9rem 0 .4rem; }
.resource-library .collection-head h2 { margin:0; font-size:clamp(1.3rem,2.2vw,2rem); }
.collection-head > span { color:#46647a; font-size:.8rem; white-space:nowrap; }
.resource-library .collection-picks li { padding:.65rem 0; }
.resource-library li a { text-decoration:none; font-weight:590; line-height:1.45; }
.resource-library li a:hover,.resource-library li a:focus-visible { text-decoration:underline; }
.resource-library .collection-picks li:first-child a { font-weight:720; }
.collection-more > summary { width:fit-content; color:var(--stream-link); font-size:.9rem; font-weight:700; padding:.7rem .4rem .7rem 0; cursor:pointer; }
.collection-more:not([open]) .when-open,.collection-more[open] .when-closed { display:none; }
@media(max-width:44rem){.library-collections{grid-template-columns:1fr}.resource-library .collection-cover{aspect-ratio:3}.library-page .resource-index{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 .9rem}}

html { scrollbar-gutter: stable; }
.stream-edition .nav-toggle { display: none; }
@media (max-width: 62rem) {
  .has-navigation .stream-edition .nav-toggle { display: inline-flex; }
  .has-navigation .stream-edition .nav-toggle[aria-expanded=false] + nav { display: none; }
}
.random-news .archive-list a,.side-section .hpclc-recent a:has(.recent-photo) { display: grid; grid-template-columns: 3.75rem minmax(0,1fr); align-items: start; gap: .75rem; }
.random-news .random-photo,.side-section .recent-photo { display:block; order:0; margin:0; overflow: hidden; border-radius: .28rem; background: var(--ice); }
.random-news .random-photo img,.side-section .recent-photo img { display: block; width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; }


@media(min-width:62.001rem) { .stream-edition .mast-row { min-height:var(--header-height); } }
.stream-edition .water-brand img { width:var(--brand-mark); height:var(--brand-mark); }
@media(max-width:35rem) { .stream-edition .water-brand img { width:min(2.4rem,var(--brand-mark)); height:min(2.4rem,var(--brand-mark)); } }
.stream-card .story-title,.stream-article h1 { font-weight:var(--heading-weight); }
.stream-text { line-height:var(--leading); }
.stream-list .stream-card + .stream-card { padding-top:var(--card-spacing); }
.header-search { border-radius:var(--search-radius); }
.edition-footer .footer-links a,.edition-footer .footer-categories a { color:var(--footer-link); }
.mast-announcement { background:var(--ice); color:var(--deep); text-align:center; padding:.45rem 1rem; }
.mast-snow { position:absolute; inset:0; overflow:hidden; pointer-events:none; user-select:none; }
.mast-snow span { position:absolute; left:var(--x); top:0; height:100%; color:#c8f1ff; opacity:.5; font:var(--flake)/1 system-ui,sans-serif; animation:mast-snowfall var(--fall) linear var(--offset) infinite; }
@keyframes mast-snowfall { from { transform:translate(0,-1em); } to { transform:translate(var(--drift),100%); } }
@media(max-width:35rem) { .mast-snow span:nth-child(even) { display:none; } }
@media(prefers-reduced-motion:reduce), print { .mast-snow { display:none; } .mast-snow span { animation:none; } }

html { color-scheme:light dark; background:light-dark(#fcfdff,#0b1924); }
html[data-color-mode=light] { color-scheme:light; }
html[data-color-mode=dark] { color-scheme:dark; }
.color-mode { display:none; }
.has-navigation .color-mode { position:relative; overflow:hidden; flex:none; width:2.55rem; height:2.55rem; display:grid; place-items:center; color:#e4f6ff; border:0; border-radius:50%; cursor:pointer; padding:0; background:transparent; box-shadow:none; transition:background .22s ease; }
.has-navigation .color-mode:hover { background:#235676; }
.stream-edition .masthead .color-mode:focus { outline:none; }
.stream-edition .masthead .color-mode:focus-visible { background:#a6e2fc; color:#092b44; }
.stream-edition .color-mode[data-mode=light]:focus-visible .mode-light { color:inherit; }
.mode-glyph { grid-area:1/1; font:1.55rem/1 system-ui,sans-serif; opacity:0; transform:rotate(-45deg) scale(.5); transition:opacity .2s ease,transform .28s ease; }
.color-mode[data-mode=auto] .mode-auto,.color-mode[data-mode=light] .mode-light,.color-mode[data-mode=dark] .mode-dark { opacity:1; transform:none; }
.color-mode[data-mode=light] .mode-light {color:#ffe49e}
@media(prefers-reduced-motion:reduce){.mode-glyph,.has-navigation .color-mode{transition:none}}
@media(min-width:62.001rem) and (max-width:76rem) { .stream-edition .mast-row { gap:clamp(.8rem,2vw,1.8rem); } }
@media(max-width:35rem) {
  .stream-edition .mast-row { grid-template-columns:minmax(0,1fr) auto auto; }
  .stream-edition .mast-row .nav-toggle { grid-column:3; }
  .color-mode { grid-column:2; grid-row:1; }
}

@supports (color:light-dark(white,black)) {
  .stream-edition {
    --paper:light-dark(var(--paper-light,#fcfdff),#0b1924);
    --ocean:light-dark(var(--mast-light,#083654),#b0e1fc);
    --mast-surface:light-dark(var(--mast-light,#083654),#102c40);
    --deep:light-dark(#092b44,#e2f2ff);
    --ice:light-dark(#e0f1fa,#173449);
    --stream-ink:light-dark(#122e44,#d7e8f4);
    --stream-muted:light-dark(#4c667b,#a4bdcf);
    --stream-link:light-dark(var(--link-light,#06679c),#79d4ff);
    --stream-line:light-dark(#ccdeea,#304959);
    --footer-bg:light-dark(var(--footer-light,#092b44),#09141e);
    --surface:light-dark(#edf6fc,#112736);
    --surface-hover:light-dark(#d3eaf7,#25495d);
    --dim:var(--stream-muted); --edge:var(--stream-line); --accent:var(--stream-link); --tint:var(--surface);
  }
  .stream-edition .masthead { background:var(--mast-surface); }
  .stream-excerpt,.resource-library li small,.collection-head > span { color:light-dark(#364f63,#b3cbdc); }
  .side-section,.stream-text .yarpp { background:var(--surface); }
  .side-section.news-tags { background:light-dark(#eef6fa,#102735); }
  .tag-links a { background:light-dark(white,#17374b); border-color:light-dark(#bed6e3,#375768); }
  .tag-links a:hover,.tag-links [aria-current],.stream-edition .page-numbers.current { color:light-dark(white,#0b2132); background:var(--ocean); }
  .stream-edition #primary-links .developer-directory > ul { background:light-dark(white,#122b3b); }
  .stream-edition #primary-links .developer-directory > ul > li > .sub-toggle { background:var(--surface); }
  .stream-edition #primary-links .developer-directory > ul > li > .sub-toggle[aria-expanded=true] { background:var(--ocean);color:light-dark(white,#0b2132); }
  .stream-edition #primary-links .developer-directory li li > a:hover { background:var(--surface-hover); }
  .header-search { background:light-dark(#f3faff,#152f40);border-color:light-dark(#82adc6,#597c91);color:var(--deep); }
  .header-search input::placeholder { color:var(--stream-muted); }
  .header-search button:hover { background:var(--surface-hover); }
  .stream-edition .search-submit { background:var(--mast-surface); color:white; }
  .stream-edition .search-field,.stream-edition textarea { background:var(--surface);color:var(--stream-ink); }
  .resource-index,.resource-library li,.stream-article header { border-color:var(--stream-line); }
  .stream-edition .mast-announcement { color:var(--deep); }
  .stream-edition ::selection { background:light-dark(#c6e8fa,#305c76);color:var(--deep); }
  .about-project .about-routes,.about-contact { background:var(--surface); }
}
.footer-credits { flex:1 1 auto; display:flex; flex-wrap:wrap; align-items:baseline; gap:.3rem 1rem; color:#c6ddeb; }
.footer-bottom .footer-credits a,.edition-footer .footer-credits a:hover { margin:0; text-decoration:none; }
.footer-credits a:is(:hover,:focus-visible) { color:var(--glacier); }
.footer-credits a[href^="tel:"] { white-space:nowrap; }
@media(max-width:40rem) { .footer-credits { flex-basis:100%; } }

.footer-contact {display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:.3rem 1rem;border-inline-start:1px solid #67869b;padding-inline-start:1.1rem}
.edition-footer .back-to-top {position:fixed;z-index:5;right:auto;left:auto;bottom:max(1.25rem,env(safe-area-inset-bottom));display:grid;place-items:center;border-radius:50%;border:1px solid #5e879e;background:#103954;color:white;box-shadow:0 4px 18px #001c333d;text-decoration:none;font:600 1.4rem/1 system-ui,sans-serif}
.edition-footer .back-to-top {padding:0;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(.5rem);pointer-events:none;
  --dock-transition:260ms cubic-bezier(.22,.7,.25,1);
  transition:opacity .22s ease,transform .22s ease,visibility 0s linear .22s,
    background-color var(--dock-transition),border-color var(--dock-transition),
    box-shadow var(--dock-transition),color var(--dock-transition);
}
.edition-footer .back-to-top.is-visible {opacity:1;visibility:visible;transform:none;pointer-events:auto;transition-delay:0s}
@media(prefers-reduced-motion:reduce){.edition-footer .back-to-top{transition:none;transform:none}}
.edition-footer .back-to-top:hover {background:#17688e;color:white}
.edition-footer .back-to-top[hidden] {display:none}
@media(max-width:48rem){.footer-contact{flex-basis:100%;border-inline-start:0;border-top:1px solid #496679;padding:.55rem 0 0;margin-top:.25rem}}
.stream-text .hpclc-related {border-top:2px solid var(--stream-line);padding-top:1rem;margin-top:2rem}
.stream-text .hpclc-related li {margin-block:.45rem}

.edition-footer { position:relative; }
.edition-footer > .shell { position:relative; }
.edition-footer > .mast-snow span {opacity:.33}

/* Enable palette transitions after the saved theme has painted. */
@media (prefers-reduced-motion: no-preference) {
  html.theme-ready,
  .theme-ready .stream-edition,
  .theme-ready .stream-edition :where(main, article, aside, section, nav, header, footer, h1, h2, h3, p, a, time, small, input, .header-search, .stream-excerpt, .developer-directory > ul, .side-section, .tag-links a) {
    transition: color 240ms ease-out, background-color 240ms ease-out, border-color 240ms ease-out;
  }
}

/* Size the footer from its actual content area, including a custom site width. */
.edition-footer > .shell {container:footer-shell / inline-size}
.footer-main {align-items:start;grid-template-columns:minmax(0,1fr) max-content;gap:1.75rem}
.footer-categories {grid-column:1/-1;border-block-start:1px solid #39637e;padding-block-start:1.25rem}
.footer-main .footer-links,.footer-main .footer-categories ul {row-gap:.32rem;line-height:1.5}
.footer-main .footer-categories ul {grid-template-columns:fit-content(31%) fit-content(31%) max-content;column-gap:1rem}
@container footer-shell (min-width:68rem) {
  .footer-main {grid-template-columns:minmax(12rem,1fr) max-content minmax(0,2.85fr);--footer-gap:clamp(1.5rem,2.5cqw,2rem);column-gap:var(--footer-gap)}
  .footer-categories {--divider-space:clamp(2rem,3cqw,3rem);grid-column:auto;position:relative;margin-inline-start:var(--divider-space);border:0;padding:0}
  .footer-categories::before {content:"";position:absolute;inset-block:.25rem;inset-inline-end:calc(100% + (var(--divider-space) + var(--footer-gap)) / 2);width:0;border-inline-end:1px solid #39637e;pointer-events:none}
  .footer-main .footer-categories ul {grid-template-columns:fit-content(32%) fit-content(32%) max-content;column-gap:clamp(2rem,4.5cqw,4rem)}
}
@container footer-shell (max-width:42rem) {
  .footer-main {grid-template-columns:1fr}
  .footer-main .footer-links {flex-direction:row}
  .footer-main .footer-categories ul {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container footer-shell (max-width:30rem) {
  .footer-main .footer-categories ul {grid-template-columns:1fr}
}

@container footer-shell (min-width:42.01rem) {
  .footer-main h2 {display:flex;align-items:center;height:2rem;margin:0 0 .55rem}
  .footer-identity > :is(.water-brand,.custom-logo-link) {width:fit-content;margin-bottom:.55rem}
  .footer-identity p {margin:0;font-size:.9rem;line-height:1.5}
}

.developer-mark {flex:none;box-sizing:border-box;width:28px;height:28px;object-fit:contain;background:white;padding:2px;border-radius:4px}

/* Let the browser keep the previous page visible until the next is ready. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {navigation:auto}
  ::view-transition-group(root) {animation-duration:180ms}
  ::view-transition-old(root),::view-transition-new(root) {animation-duration:180ms;animation-timing-function:ease-out}
  .stream-edition #primary-links .developer-directory .sub-toggle::after {transition:transform 150ms ease-out}
}

.stream-edition #primary-links .directory-all {
  grid-column:1; grid-row:1; display:flex; align-items:center; justify-content:space-between;
  padding:.75rem .95rem; color:var(--stream-link); font-weight:700;
}
.vendor-guide {padding-block:1.75rem 4rem;color:var(--stream-ink)}
.guide-head {margin-top:2rem;padding-block:1.5rem;border-top:3px solid var(--stream-link)}
.guide-head h1 {margin:0;font-size:clamp(2rem,5vw,4rem);line-height:1.08;letter-spacing:-.035em}
.guide-head p {max-width:60ch;margin:.9rem 0 0;color:var(--stream-muted);font-size:1.1rem}
.guide-group {padding-block:1.5rem;border-top:1px solid var(--stream-line);scroll-margin-top:1rem}
.guide-group h2 {margin:0 0 1rem;font-size:clamp(1.25rem,2.4vw,1.65rem);line-height:1.25}
.guide-group ul {list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.65rem}
.guide-group li a {display:flex;height:100%;box-sizing:border-box;align-items:center;gap:.85rem;padding:.8rem 1rem;border:1px solid var(--stream-line);border-radius:.6rem;color:var(--stream-ink);font-weight:700;overflow-wrap:anywhere}
.guide-group .developer-mark {width:44px;height:44px;padding:4px}
.guide-group a:is(:hover,:focus-visible) {background:var(--surface-hover);color:var(--stream-link)}

.vendor-guide a:any-link {text-decoration:none}
