/* Header, breadcrumb, footer and buttons: shared by the content pages and the practice pages. Literal brand colours so it works beside the practice template. */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;border-radius:12px;background:#4467F5;color:#fff;font:800 16px/1.3 Raleway,Arial,sans-serif;text-decoration:none;border:2px solid #4467F5;text-align:center;cursor:pointer}
.btn:hover{background:#3456e0;border-color:#3456e0;color:#fff}
.btn-outline{background:#fff;color:#4467F5}
.btn-outline:hover{background:#EEF1FD;color:#4467F5;border-color:#4467F5}
.btn-white{background:#fff;color:#4467F5;border-color:#fff}
.btn-white:hover{background:#EEF1FD;color:#4467F5;border-color:#EEF1FD}
.btn-sm{min-height:44px;padding:9px 18px;font-size:15px}
.site-head .join,.site-head .join:hover{color:#fff}

/* Compact byline (hero) and the hub author block */
.byline{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 10px;max-width:640px;margin:0 auto 6px;font:600 15px/1.4 Raleway,Arial,sans-serif}
.byline .avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;display:block;border:2px solid #fff;background:#fff}
.hero .byline,.hero .byline a{color:#fff}
.byline a{font-weight:800;text-decoration:underline;text-underline-offset:3px}
.byline .dot{opacity:.8}
@media (max-width:480px){.byline .dot{display:none}.byline>span{flex-basis:auto}}
.author-box{max-width:720px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:22px;text-align:left}
.author-box img{width:96px;height:96px;border-radius:50%;object-fit:cover;flex:none;border:3px solid #fff;background:#fff}
.author-box h2{font-size:clamp(24px,3.4vw,30px);margin:0 0 8px}
.author-box p{margin:0;font-size:16px;line-height:1.6}
@media (max-width:560px){.author-box{flex-direction:column;text-align:center;gap:14px}}

.site-head{position:sticky;top:0;z-index:50;background:#F9FAFE;border-bottom:1px solid #C8D4FD;padding:8px 16px;text-align:center;font-family:Raleway,Arial,sans-serif}
.site-head .hbar{max-width:1100px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px 22px}
.brand{display:inline-flex;align-items:center;justify-content:center;gap:10px;font:800 19px Raleway,Arial,sans-serif;color:#4467F5;text-decoration:none;min-height:44px}
.brand img{width:34px;height:34px;display:block}
.site-head .menu summary{display:none;list-style:none;cursor:pointer;font:800 15px Raleway,Arial,sans-serif;color:#4467F5;border:2px solid #C8D4FD;border-radius:12px;background:#fff;padding:9px 18px;min-height:44px;align-items:center}
.site-head .menu summary::-webkit-details-marker{display:none}
.site-head .menu nav{display:flex;flex-wrap:wrap;justify-content:center;gap:0 6px}
.site-head nav a{color:#1A1A2E;text-decoration:none;font:700 16px Raleway,Arial,sans-serif;padding:10px 10px;min-height:44px;display:inline-flex;align-items:center;border-bottom:3px solid transparent}
.site-head nav a:hover{color:#4467F5}
.site-head nav a.active{color:#4467F5;border-bottom-color:#4467F5}
@media (max-width:760px){
  /* Will, 25 Oct: the menu stays visible across the top (a menu button only on phones, below). Narrow screens: logo and Log in on the first row, the links in one swipeable row under them. */
  .site-head{padding:6px 0 0}
  .site-head .hbar{display:grid;grid-template-columns:1fr auto;gap:0 10px;align-items:center;padding:0 16px}
  .site-head .brand{justify-self:start;font-size:17px}
  .site-head .menu{display:contents}
  .site-head .join{grid-column:2;grid-row:1}
  .site-head .menu nav{grid-column:1 / -1;grid-row:2;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -16px;padding:0 10px;gap:0 2px}
  .site-head .menu nav::-webkit-scrollbar{display:none}
  .site-head nav a{flex:none;font-size:15px;padding:8px 9px;white-space:nowrap}
}

@media (max-width:560px){
  /* Phones: a menu button is fine (Will, 25 Oct). */
  .site-head{padding:8px 0}
  .site-head .hbar{grid-template-columns:1fr auto auto}
  .site-head .menu summary{display:inline-flex;grid-column:2;grid-row:1}
  .site-head .join{grid-column:3}
  .site-head .menu nav{flex-direction:column;align-items:stretch;overflow:visible;margin:6px 0 0;padding:0;gap:0}
  .site-head .menu:not([open]) nav{display:none}
  .site-head nav a{justify-content:center;border-bottom:1px solid #EEF1FD;font-size:16px}
}

.crumbs{background:#F9FAFE;border-bottom:1px solid #C8D4FD;padding:10px 16px;font:600 14px/1.5 Raleway,Arial,sans-serif;color:#6B7280;text-align:center}
.crumbs ol{list-style:none;margin:0 auto;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:0 4px;max-width:1040px}
.crumbs li+li::before{content:">";margin-right:4px;color:#6B7280}
.crumbs a{color:#4467F5;font-weight:700;text-decoration:none;padding:6px 2px;display:inline-block}
.crumbs a:hover{text-decoration:underline}

.site-foot{background:#F9FAFE;border-top:1px solid #C8D4FD;padding:34px 16px;font:500 15px/1.6 Raleway,Arial,sans-serif;color:#6B7280;text-align:center}
.site-foot .brand{margin-bottom:4px}
.site-foot p{max-width:640px;margin:0 auto 10px}
.site-foot a{color:#6B7280;font-weight:700}
.site-foot .brand{color:#4467F5}
.site-foot nav{display:flex;gap:0 8px;justify-content:center;flex-wrap:wrap;margin:6px 0 12px}
.site-foot nav a{padding:10px 8px;min-height:44px;display:inline-flex;align-items:center;text-decoration:none}
.site-foot nav a:hover{color:#4467F5}

.avatar-link{display:inline-flex;border-radius:50%;flex:none;transition:transform .15s,box-shadow .15s}.avatar-link:hover{transform:scale(1.06);box-shadow:0 0 0 3px #C8D4FD}
