.hub-home .hero{min-height:340px;padding-bottom:48px}.hub-home .hero-copy{max-width:720px}.hub-home .hero-copy .button{margin-top:18px}.hub-section{margin:32px 0;scroll-margin-top:100px}.hub-activities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hub-activities .learning-category-card{display:flex;flex-direction:column;gap:12px}.hub-activities .button{margin-top:auto;align-self:flex-start}.hub-dashboard{display:grid;grid-template-columns:2fr 1fr;gap:24px}.hub-total{font-size:2rem;color:var(--green-dark,#26493c);font-weight:700}.hub-progress-list{list-style:none;padding:0;display:grid;gap:18px}.hub-progress-list li{border-top:1px solid #e3e5dc;padding-top:16px;display:grid;gap:6px}.hub-progress-list progress{width:100%;accent-color:#497d62}.hub-leaders{padding-left:24px}.hub-leaders li{padding:12px 0;border-bottom:1px solid #e3e5dc}.hub-rule{color:#596358;font-size:.95rem}.hub-status:empty{display:none}@media(max-width:760px){.hub-activities,.hub-dashboard{grid-template-columns:1fr}.hub-home .hero{min-height:auto}.hub-home .hero-art{opacity:.25}.hub-section{margin:24px 0}}

/* Separate the section heading from the first activity at every breakpoint. */
.hub-home #activities-title { margin: 0 0 28px; line-height: 1.2; }
.hub-leaderboard.panel { align-self: start; padding: 26px; border: 1px solid #d9dfd3; border-top: 4px solid #d9b252; background: linear-gradient(145deg, #fffdf7, #f2f5eb); border-radius: 18px; box-shadow: 0 12px 32px #163e2f0d; }
.hub-board-heading { display: flex; align-items: center; gap: 14px; }
.hub-board-heading > div { min-width: 0; }
.hub-board-heading .eyebrow { font-size: .65rem; margin: 0 0 6px; letter-spacing: .07em; }
.hub-board-heading h2 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); overflow-wrap: anywhere; }
.hub-trophy { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; background: #075542; border: 1px solid #d9b252; border-radius: 14px; color: #efce78; }
.hub-trophy svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hub-board-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 22px 0 18px; font-size: .82rem; color: #526359; }
.hub-top-ten { padding: 5px 10px; border: 1px solid #d9dfd3; border-radius: 20px; background: #fffdf7; font-weight: 700; white-space: nowrap; }
.hub-leaders { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hub-leaders .hub-leader-row { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 13px 10px; border: 1px solid #dfe4d9; border-radius: 12px; background: #ffffffb8; }
.hub-leader-row[data-you="true"] { outline: 2px solid #53816b; outline-offset: -2px; }
.hub-rank { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #eef1e9; color: #42604e; font-weight: 700; }
.hub-leader-row[data-rank="1"] .hub-rank { background: #f3dea3; color: #6b4c08; }
.hub-leader-row[data-rank="2"] .hub-rank { background: #e0e7e9; color: #405059; }
.hub-leader-row[data-rank="3"] .hub-rank { background: #eddbcd; color: #71492a; }
.hub-leader-name { font-weight: 600; font-size: .9rem; overflow-wrap: anywhere; color: #163e2f; }
.hub-you { display: block; margin-top: 3px; color: #526359; font-size: .7rem; }
.hub-score { text-align: right; color: #075542; }
.hub-score strong { display: block; font-size: 1.15rem; }
.hub-score small { display: block; font-size: .65rem; color: #526359; }
.hub-board-empty { text-align: center; padding: 22px 10px 12px; border-top: 1px solid #d9dfd3; }
.hub-board-empty[hidden] { display: none; }
.hub-empty-star { display: block; font-size: 3.3rem; line-height: 1; color: #97701e; margin-bottom: 16px; }
.hub-board-empty h3 { font-size: 1.2rem; line-height: 1.3; color: #163e2f; }
.hub-board-empty p { font-size: .9rem; line-height: 1.6; color: #526359; margin: 12px 0 22px; }
.hub-board-empty .button { font-size: .85rem; }
@media(max-width:760px) { .hub-leaderboard.panel { padding: 24px 20px; } .hub-board-heading h2 { font-size: 1.65rem; } }

.hub-home .hero { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.hub-home .hero-copy { padding-inline-start: 0; }
.hub-home .hero-copy::after { display: none; }
.hub-explore { position: relative; padding: 22px 32px 28px; border: 1px solid #c6a856; border-radius: 90px 90px 18px 18px; background: linear-gradient(145deg, #075340, #073c32); color: #f5eed8; box-shadow: 0 14px 30px #133f3018; max-width: 440px; width: 100%; justify-self: center; }
.hub-book-art { color: #e1c16e; max-width: 320px; margin: 0 auto 6px; }
.hub-book-art svg { display: block; width: 100%; height: auto; }
.hub-explore .eyebrow { color: #e1c16e; font-size: .68rem; letter-spacing: .09em; margin-bottom: 10px; }
.hub-explore h2 { color: #fff8e4; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; }
.hub-explore > p:not(.eyebrow) { font-size: .95rem; line-height: 1.6; margin: 14px 0 18px; color: #e0e8df; }
.hub-explore .hub-explore-progress { font-size: .8rem !important; color: #ead398 !important; }
.hub-explore-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 17px; border-top: 1px solid #ffffff30; color: #fff4cc; font-weight: 700; font-size: .95rem; text-decoration: none; }
.hub-explore-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.hub-explore-link:focus-visible { outline: 2px solid #e1c16e; outline-offset: 5px; }
@media(max-width:900px) {
  .hub-home .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hub-explore { max-width: none; border-radius: 22px; padding: 24px; }
  .hub-book-art { float: right; width: 120px; margin: 0 0 8px 16px; }
  .hub-explore-link { clear: both; }
}
@media(max-width:400px) { .hub-book-art { width: 92px; margin-left: 10px; } }
