@import url("/assets/css/site-theme.css?v=20261009-1");
/* Year 1 only: compact discovery, static topic lists and a consistent worksheet path. */
body.year1-learning-hub { --hub-ink:var(--site-ink); --hub-muted:var(--site-muted); --hub-teal:var(--site-primary); --hub-line:var(--site-line); margin:0; background:var(--site-page); color:var(--hub-ink); font:16px/1.55 var(--site-font); }
.year1-learning-hub *, .year1-learning-hub *::before, .year1-learning-hub *::after { box-sizing:border-box; }
.year1-learning-hub a { color:var(--hub-teal); text-underline-offset:3px; }
.year1-learning-hub a:focus-visible,.year1-learning-hub summary:focus-visible { outline:3px solid var(--site-focus); outline-offset:4px; }
.year1-learning-hub h1,.year1-learning-hub h2,.year1-learning-hub h3 { color:var(--hub-ink); font-weight:750; line-height:1.2; }
.hub-header { background:white; border-bottom:1px solid var(--hub-line); }
.hub-header nav { max-width:1180px; margin:auto; padding:14px 28px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.hub-brand { display:inline-flex; align-items:center; gap:9px; color:var(--hub-ink)!important; text-decoration:none; font-size:1.1rem; }
.hub-header nav>div { display:flex; gap:22px; font-size:.9rem; font-weight:650; }
.hub-header nav>div a { display:inline-flex; align-items:center; min-height:44px; text-decoration:none; }
.hub-page { max-width:1180px; margin:auto; padding:16px 28px 28px; }
.hub-breadcrumb { display:flex; flex-wrap:wrap; gap:8px; font-size:.8rem; color:var(--hub-muted); margin:0 0 16px; }
.hub-hero { display:grid; grid-template-columns:1.4fr 1fr; gap:24px; padding:28px; background:white; border:1px solid var(--hub-line); border-radius:16px; margin:0 0 24px; }
.hub-hero>div { align-self:center; }
.hub-eyebrow { color:var(--hub-teal); font-size:.72rem; font-weight:750; letter-spacing:.06em; text-transform:uppercase; margin:0 0 10px; }
.hub-hero h1 { font-size:clamp(1.85rem,3.6vw,2.8rem); letter-spacing:-.035em; margin:0 0 14px; }
.hub-hero>div>p:last-child { color:var(--hub-muted); max-width:57ch; margin:0; font-size:1rem; }
.hub-offer { align-self:start; background:var(--site-soft); padding:22px; border:1px solid #d4e4da; border-radius:12px; }
.hub-offer h2 { font-size:1.3rem; margin:0 0 10px; }
.hub-offer>p:not(.hub-eyebrow) { color:var(--hub-muted); font-size:.88rem; margin:0 0 16px; }
.year1-learning-hub .hub-button { display:inline-flex; min-height:44px; align-items:center; justify-content:center; padding:10px 16px; border-radius:8px; font-size:.88rem; font-weight:750; text-decoration:none; }
.year1-learning-hub .hub-button--primary { background:var(--hub-teal); color:white; }
.year1-learning-hub .hub-button--primary:hover { background:var(--site-primary-hover); }
.hub-text-link { display:block; margin-top:12px; font-size:.8rem; font-weight:650; }
.hub-list-heading { margin:0 0 16px; }
.hub-list-heading h2 { font-size:1.4rem; margin:0 0 6px; }
.hub-list-heading p { color:var(--hub-muted); font-size:.88rem; margin:0; }
.hub-subject-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.hub-subject { display:flex; flex-direction:column; padding:24px; border:1px solid var(--hub-line); border-radius:12px; background:white; text-decoration:none; }
.hub-subject:hover { border-color:var(--hub-teal); background:#f3f9f5; }
.hub-subject h2 { font-size:1.5rem; margin:0 0 10px; }
.hub-subject>p:not(.hub-eyebrow) { color:var(--hub-muted); font-size:.93rem; margin:0 0 18px; }
.hub-subject>span { margin-top:auto; font-size:.9rem; font-weight:750; }
.hub-routine { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:24px 0 0; border-block:1px solid var(--hub-line); padding:18px 0; }
.hub-routine p { margin:0; color:var(--hub-muted); font-size:.88rem; }
.hub-routine strong { display:block; color:var(--hub-ink); margin-bottom:4px; }
.hub-jumps { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 24px; }
.hub-jumps a { display:inline-flex; align-items:center; min-height:44px; padding:8px 14px; border:1px solid var(--hub-line); border-radius:8px; background:white; text-decoration:none; font-size:.85rem; font-weight:650; }
.hub-jumps a:hover { background:var(--site-soft); border-color:var(--hub-teal); }
.hub-group { margin:0 0 28px; scroll-margin-top:20px; }
.hub-group>header { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:12px; }
.hub-group h2 { font-size:1.3rem; margin:0; }
.hub-group>header>span { color:var(--hub-muted); font-size:.8rem; white-space:nowrap; }
.hub-topic-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; align-items:start; }
.hub-topic { background:white; border:1px solid var(--hub-line); border-radius:10px; padding:18px; min-width:0; }
.hub-topic__code { margin:0 0 6px; color:var(--hub-muted); font-size:.7rem; letter-spacing:.04em; }
.hub-topic h3 { font-size:1.1rem; margin:0 0 10px; }
.hub-topic h3 a { color:var(--hub-ink); text-decoration:none; }
.hub-topic h3 a:hover { text-decoration:underline; }
.hub-topic__summary { margin:0 0 14px; font-size:.86rem; line-height:1.5; color:var(--hub-muted); }
.hub-topic__actions { display:flex; flex-wrap:wrap; gap:8px 16px; border-top:1px solid var(--hub-line); padding-top:8px; }
.hub-topic__actions a { display:inline-flex; align-items:center; min-height:44px; font-size:.82rem; font-weight:700; }
.hub-topic__actions a:first-child { margin-right:auto; }
.hub-more { border-top:1px solid var(--hub-line); margin-top:6px; font-size:.78rem; }
.hub-more summary { cursor:pointer; padding:10px 0; min-height:44px; color:var(--hub-muted); }
.hub-more>div { display:grid; gap:8px; padding:2px 0 8px; }
.hub-more a { display:inline-flex; min-height:36px; align-items:center; }
.hub-contact { border-top:1px solid var(--hub-line); margin-top:28px; padding:20px 0 0; }
.hub-contact p { margin:0; color:var(--hub-muted); font-size:.83rem; max-width:85ch; overflow-wrap:anywhere; }
.hub-contact strong { color:var(--hub-ink); }
.hub-footer { display:flex; flex-wrap:wrap; gap:14px 24px; margin-top:22px; font-size:.75rem; }
.hub-footer a { color:var(--hub-muted); }
.hub-skip { position:absolute; left:-10000px; }
.hub-skip:focus { position:fixed; top:10px; left:10px; background:white; padding:12px; z-index:100; }
@media(max-width:900px) { .hub-topic-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .hub-hero { grid-template-columns:1.15fr 1fr; gap:20px; padding:24px; } }
@media(max-width:650px) { .hub-header nav { padding:10px 16px; } .hub-header nav>div { gap:12px; font-size:.76rem; } .hub-brand { font-size:1rem; } .hub-page { padding:14px 16px 24px; } .hub-hero { grid-template-columns:1fr; gap:20px; padding:20px; } .hub-subject-grid,.hub-topic-grid,.hub-routine { grid-template-columns:1fr; } .hub-subject { padding:20px; } .hub-subject>p:not(.hub-eyebrow) { margin-bottom:12px; } .hub-routine { gap:14px; } .hub-hero h1 { font-size:2rem; } .hub-offer { padding:18px; } .hub-group>header { align-items:start; } .hub-topic { padding:16px; } }
@media(max-width:360px) { .hub-header nav { gap:8px; padding-inline:12px; } .hub-brand img { width:26px; height:26px; } .hub-brand { gap:6px; } .hub-header nav>div { gap:8px; font-size:.7rem; } .hub-page { padding-inline:12px; } .hub-hero { padding:16px; } .hub-hero h1 { font-size:1.8rem; } }
@media print { .hub-header,.hub-jumps,.hub-offer,.hub-topic__actions,.hub-more,.hub-footer { display:none; } .hub-hero { display:block; } .hub-topic-grid { grid-template-columns:repeat(2,1fr); } }
/* Neutralise legacy mobile nav stacking on these opt-in hubs. */
.year1-learning-hub .hub-header nav { flex-direction:row; flex-wrap:nowrap; }
.year1-learning-hub .hub-header nav a { width:auto; margin:0; flex-shrink:0; }
.year1-learning-hub .hub-header nav>div { flex-direction:row; flex-wrap:nowrap; }
.year1-learning-hub .hub-breadcrumb { flex-direction:row; justify-content:flex-start; align-items:center; flex-wrap:wrap; padding:0; }
.year1-learning-hub .hub-breadcrumb a { width:auto; margin:0; padding:0; }
.year1-learning-hub .hub-breadcrumb span { margin:0; padding:0; }
.year1-learning-hub .hub-header nav a { padding:0; }
.year1-learning-hub .hub-header .hub-brand { display:inline-flex; }
.year1-learning-hub .hub-header nav>div a { font-size:inherit; }
.year1-learning-hub .hub-header nav>div a { flex-shrink:1; min-width:0; }
