/* cc-store-2026: the approved hubs' styles (mockup src/hubs.css). Generated. */
/* Curriculum by subject / by grade hubs on the 2026 tokens (cc-page.css + store.css). Scoped under .ccpg. */
.ccpg .hub-head{text-align:center}
.ccpg .hub-head .is-lead{margin-left:auto;margin-right:auto}
.ccpg .hub-head .is-lead+.is-lead{margin-top:4px}
.ccpg .hub{padding-bottom:64px}
.ccpg .hub-n{font-size:14px;line-height:20px;color:var(--cc-ink-2)}

/* subjects: 12 tiles, 4 across */
.ccpg .hub-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.ccpg .hub-tile{display:flex;flex-direction:column;align-items:center;gap:8px;height:100%;padding:28px 16px 24px;text-align:center;text-decoration:none;background:#fff;border:1px solid var(--cc-line);border-radius:var(--cc-r-md);box-shadow:var(--cc-shadow)}
.ccpg .hub-tile img,.ccpg .hub-tile svg{width:56px;height:56px;margin-bottom:8px;flex:none}
.ccpg .hub-name{font:700 18px/26px var(--cc-head);color:var(--cc-navy)}
.ccpg .hub-tile:hover{border-color:var(--cc-blue);background:var(--cc-blue-soft)}
.ccpg .hub-tile:hover .hub-name{text-decoration:underline;text-underline-offset:3px}
.ccpg .hub-tile:focus-visible{outline:2px solid var(--cc-navy);outline-offset:2px}

/* grades: Middle School and High School cards */
.ccpg .hub-groups{display:grid;grid-template-columns:3fr 4fr;gap:24px;max-width:960px;margin:0 auto}
.ccpg .hub-group{padding:24px;background:#fff;border:1px solid var(--cc-line);border-radius:var(--cc-r-md);box-shadow:var(--cc-shadow);display:flex;flex-direction:column;gap:4px}
.ccpg .hub-group h2{font:700 24px/32px var(--cc-head);margin:0}
.ccpg .hub-group h2 a{color:var(--cc-navy);text-decoration:none}
.ccpg .hub-group h2 a:hover{text-decoration:underline;text-underline-offset:4px}
.ccpg .hub-grades{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:12px}
.ccpg .hub-grades a{display:flex;flex-direction:column;align-items:center;gap:0;padding:16px 8px;border:1px solid var(--cc-line-strong);border-radius:var(--cc-r-md);text-decoration:none;color:var(--cc-ink);text-align:center}
.ccpg .hub-grades a:hover{border-color:var(--cc-blue);background:var(--cc-blue-soft)}
.ccpg .hub-grades a:focus-visible{outline:2px solid var(--cc-navy);outline-offset:2px}
.ccpg .hub-gr{font:700 32px/38px var(--cc-head);color:var(--cc-blue)}
.ccpg .hub-gr-w{font:700 14px/20px var(--cc-body);color:var(--cc-navy);margin-bottom:4px}

/* today's cover strip, then (subjects) the Shop All Curriculum band */
.ccpg .hub-strip{overflow:hidden;background:var(--cc-ground);line-height:0}
.ccpg .hub-strip img{display:block;width:100%;min-width:900px;height:auto;max-width:none}
.ccpg .is-style-cc-band-navy.hub-band{padding-block:24px;margin:0}
.ccpg .hub-band~*,.ccpg .hub-strip+.hub-band{margin-top:0}
.ccpg .hub-band .wp-block-buttons{justify-content:center;margin:0}

@media (max-width:1000px){.ccpg .hub-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){
  .ccpg .hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .ccpg .hub-tile{padding:20px 12px 16px}
  .ccpg .hub-tile img,.ccpg .hub-tile svg{width:48px;height:48px;margin-bottom:4px}
  .ccpg .hub-name{font-size:16px;line-height:22px}
  .ccpg .hub-groups{grid-template-columns:minmax(0,1fr);gap:16px}
  .ccpg .hub-group{padding:16px}
  .ccpg .hub-grades{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .ccpg .hub-grades a{padding:12px 4px}
  .ccpg .hub-gr{font-size:24px;line-height:30px}
  .ccpg .hub-grades .hub-n{font-size:12px;line-height:16px}
}
