/* ══ EduLab Nigeria — Curriculum hub + class pages ══ */

/* ── Hub grid (curriculum.html) ── */
.hub-bg {
  background: var(--sand)
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 52px
}

@media(max-width:760px) {
  .hub-grid {
    grid-template-columns: 1fr
  }
}

.hub-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r2);
  padding: 30px 28px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all .3s
}

.hub-card:hover {
  border-color: var(--sky);
  transform: translateY(-4px);
  box-shadow: var(--sh2)
}

.hub-card-n {
  position: absolute;
  top: 10px;
  right: 22px;
  font-family: var(--font-h);
  font-size: 68px;
  font-weight: 700;
  font-style: italic;
  color: rgba(14, 124, 114, .07);
  line-height: 1
}

.hub-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap
}

.hub-tag {
  font-family: var(--font-m);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--ice);
  color: var(--blue)
}

.hub-tag.age {
  background: rgba(47, 125, 91, .1);
  color: var(--green)
}

.hub-card h3 {
  font-family: var(--font-h);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -.02em
}

.hub-card .theme {
  font-style: italic;
  color: var(--sky);
  font-weight: 300
}

.hub-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px
}

.hub-card .hub-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  font-family: var(--font-b)
}

.hub-card:hover .hub-cta {
  gap: 12px;
  transition: gap .2s
}

.hub-note {
  margin-top: 44px;
  background: var(--ice);
  border: 1px solid #BFEDE4;
  border-radius: var(--r2);
  padding: 22px 26px;
  font-size: 14px;
  color: var(--blue);
  line-height: 1.7
}

/* ── Class detail page ── */
.class-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 99px;
  box-shadow: var(--sh)
}

.meta-pill strong {
  color: var(--blue);
  font-family: var(--font-m);
  font-weight: 700
}

/* Term tabs */
.term-tabs {
  display: flex;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap
}

.term-tab {
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 11px 22px;
  border-radius: 99px;
  cursor: pointer;
  transition: all .2s
}

.term-tab:hover {
  border-color: var(--sky);
  color: var(--sky)
}

.term-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff
}

.term-panel {
  display: none;
  margin-top: 28px
}

.term-panel.active {
  display: block
}

.week-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: var(--r2);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh)
}

.week-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  background: var(--white);
  border-top: 1px solid var(--border)
}

.week-row:first-child {
  border-top: none
}

.week-row:hover {
  background: var(--ice)
}

.week-num {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 22px 0 0;
  font-family: var(--font-h);
  font-size: 30px;
  font-weight: 700;
  font-style: italic;
  color: rgba(14, 124, 114, .14);
  line-height: 1
}

.week-body {
  padding: 22px 24px 22px 0
}

.week-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px
}

.week-body .wk-activity {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 6px
}

.week-body .wk-outcome {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green)
}

/* Term project callout */
.term-project {
  margin-top: 20px;
  background: var(--navy);
  border-radius: var(--r2);
  padding: 30px 32px;
  position: relative;
  overflow: hidden
}

.term-project::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(45, 212, 191, .16) 0%, transparent 60%)
}

.tp-label {
  position: relative;
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px
}

.term-project h4 {
  position: relative;
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  font-style: italic
}

.term-project p {
  position: relative;
  font-size: 14px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.7
}

/* Prev/next class nav */
.class-pager {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 56px;
  flex-wrap: wrap
}

.pager-link {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r2);
  padding: 20px 22px;
  text-decoration: none;
  transition: all .25s
}

.pager-link:hover {
  border-color: var(--sky);
  transform: translateY(-2px)
}

.pager-link.next {
  text-align: right;
  align-items: flex-end
}

.pager-dir {
  font-family: var(--font-m);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em
}

.pager-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy)
}
