/* edge-sites hub chrome: the app bar, hub index and Related pages block, in the viewer's Material look.
   Needs design-system/css/themes/material.css. Rules are the viewer's (app bar, card, chip, btn) under hub- names.
   Everything sits in .hub-scope or .hub-body so a page with its own skin keeps it. */
.hub-body{margin:0;background:var(--surface);color:var(--text);font:400 14px/1.5 var(--font);overflow-x:hidden;-webkit-text-size-adjust:100%}
.hub-scope{font:400 14px/1.5 var(--font);color:var(--text)}
.hub-scope *,.hub-scope *::before,.hub-scope *::after{box-sizing:border-box}
.hub-scope h1,.hub-scope h2,.hub-scope h3{font-family:var(--head);font-weight:500;margin:0;letter-spacing:0}
.hub-scope a{color:var(--primary)}
.hub-scope :focus-visible{outline:3px solid var(--primary);outline-offset:2px;border-radius:6px}
.hub-bar{position:sticky;top:0;z-index:30;background:var(--surface);border-bottom:1px solid var(--outline)}
.hub-bar-in{display:flex;align-items:center;gap:16px;padding:8px 16px;min-height:var(--hh);flex-wrap:wrap;max-width:1440px;margin:0 auto}
.hub-logo{display:flex;align-items:center;gap:12px;min-width:0;color:var(--text);text-decoration:none}
.hub-logo i{width:32px;height:32px;border-radius:10px;background:conic-gradient(var(--blue) 0 25%,var(--red) 0 50%,var(--yellow) 0 75%,var(--green) 0);flex:none}
.hub-logo b{font:500 16px var(--head)}
.hub-main{max-width:1440px;margin:0 auto;padding:16px;display:grid;gap:24px}
.hub-title{font-size:28px}
.hub-lead{margin:8px 0 0;color:var(--text2);max-width:46rem}
.hub-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;list-style:none;margin:0;padding:0}
.hub-card{background:var(--surface);border-radius:20px;box-shadow:var(--e1);padding:20px;display:grid;gap:8px;align-content:start}
.hub-card h2,.hub-card h3{font-size:18px}
.hub-card p{margin:0;color:var(--text2)}
.hub-card a{text-decoration:none}
.hub-card a:hover{text-decoration:underline}
.hub-chip{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;font-size:11px;font-weight:500;background:var(--sc2);color:var(--text2);width:max-content}
.hub-chip.soon{background:var(--primary-c);color:var(--on-primary-c)}
.hub-related{width:100%;max-width:1440px;margin:0 auto;padding:16px;border-top:1px solid var(--outline)}
.hub-related h2{font-size:18px;margin-bottom:12px}
.hub-related h3{font-size:15px;margin:12px 0 8px;color:var(--text2)}
.hub-related ul{list-style:none;margin:0;padding:0;display:flex;gap:8px;flex-wrap:wrap}
.hub-related li a{display:inline-flex;align-items:center;min-height:36px;padding:0 16px;border-radius:18px;border:1px solid var(--outline);background:var(--surface);font:500 13px var(--head);text-decoration:none}
.hub-related li a:hover{background:var(--primary-c)}
@media (prefers-reduced-motion: no-preference){.hub-card{transition:box-shadow 200ms var(--ease)}.hub-card:hover{box-shadow:var(--e2)}}
