.curriculum-page {
  background:
    radial-gradient(circle at 8% 16%, rgba(101, 19, 56, .05), transparent 22rem),
    radial-gradient(circle at 92% 32%, rgba(7, 95, 69, .05), transparent 24rem),
    var(--paper);
}

.primary-nav .is-current {
  color: var(--plum);
  background: var(--plum-soft);
}

.curriculum-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: white;
  background:
    linear-gradient(118deg, rgba(7, 26, 51, .98), rgba(63, 10, 37, .96) 56%, rgba(7, 95, 69, .9)),
    url("../brand/campus.webp") center / cover;
}

.curriculum-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 500px;
  aspect-ratio: 1;
  right: -110px;
  top: -190px;
  border: 76px solid rgba(229, 184, 77, .12);
  border-radius: 50%;
}

.curriculum-hero-pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .13;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(255, 255, 255, .46) 49%, transparent 51%),
    linear-gradient(150deg, transparent 48%, rgba(255, 255, 255, .35) 49%, transparent 51%);
  background-size: 58px 100px;
}

.curriculum-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(55px, 8vw, 110px);
  align-items: center;
  padding-block: 105px 130px;
}

.curriculum-hero-copy {
  max-width: 780px;
}

.curriculum-hero .kicker {
  color: var(--gold-bright);
}

.curriculum-hero h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(3.7rem, 7.4vw, 6.8rem);
  line-height: .91;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.curriculum-hero-copy > p:not(.kicker) {
  max-width: 670px;
  color: rgba(255, 255, 255, .75);
  font-size: 1.12rem;
}

.curriculum-hero-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 28px;
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 26px 65px rgba(0, 0, 0, .25);
  backdrop-filter: blur(15px);
}

.curriculum-hero-card > div {
  min-height: 142px;
  display: grid;
  align-content: center;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, .13);
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.curriculum-hero-card > div:nth-child(2n) {
  border-right: 0;
}

.curriculum-hero-card span {
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 3.25rem;
  font-weight: 900;
  line-height: .9;
}

.curriculum-hero-card strong {
  margin-top: 11px;
  color: rgba(255, 255, 255, .84);
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.curriculum-hero-card > p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 19px 25px;
  color: var(--navy);
  background: var(--gold);
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .11em;
  text-align: center;
  text-transform: uppercase;
}

.curriculum-notices {
  position: relative;
  z-index: 3;
  margin-top: -48px;
}

.notice-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 14px;
}

.notice-grid article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 21px;
  align-items: start;
  min-height: 215px;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.notice-grid article.wassce-notice {
  border-color: rgba(229, 184, 77, .45);
  background: linear-gradient(135deg, #fffaf0, #fff 56%);
}

.notice-icon {
  width: 54px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: white;
  background: var(--green);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 900;
}

.wassce-notice .notice-icon {
  color: var(--navy);
  background: var(--gold);
}

.notice-grid article p:first-child {
  margin-bottom: 7px;
  color: var(--green);
  font-size: .65rem;
  font-weight: 950;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.notice-grid h2 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.notice-grid article p:not(:first-child) {
  margin-bottom: 0;
  font-size: .84rem;
  line-height: 1.55;
}

.notice-grid article strong {
  display: block;
  margin-top: 13px;
  color: var(--plum);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.curriculum-explorer {
  padding-top: 92px;
}

.curriculum-heading {
  max-width: 760px;
  margin-bottom: 43px;
}

.stage-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-bottom: 24px;
}

.stage-card {
  position: relative;
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease;
}

.stage-card::after {
  content: "";
  position: absolute;
  width: 100px;
  aspect-ratio: 1;
  right: -49px;
  bottom: -52px;
  border: 23px solid rgba(101, 19, 56, .06);
  border-radius: 50%;
}

.stage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(101, 19, 56, .34);
  box-shadow: var(--shadow-soft);
}

.stage-card.is-active {
  border-color: var(--plum);
  color: white;
  background: linear-gradient(145deg, var(--plum), var(--plum-deep));
  box-shadow: 0 18px 44px rgba(63, 10, 37, .2);
}

.stage-card.is-active::after {
  border-color: rgba(229, 184, 77, .14);
}

.stage-card > span {
  color: var(--green);
  font-size: .61rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.stage-card.is-active > span {
  color: var(--gold-bright);
}

.stage-card strong {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.stage-card small {
  max-width: 240px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.55;
}

.stage-card.is-active small {
  color: rgba(255, 255, 255, .68);
}

.curriculum-workspace {
  overflow: hidden;
  border: 1px solid rgba(20, 32, 55, .12);
  border-radius: 32px;
  background: white;
  box-shadow: var(--shadow);
}

.curriculum-toolbar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: stretch;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: #f7f3ec;
}

.curriculum-toolbar > label {
  display: grid;
  gap: 8px;
}

.curriculum-toolbar > label > span,
.subject-toolbar > div > p,
.pathway-wrap > div:first-child > p {
  margin: 0;
  color: var(--green);
  font-size: .64rem;
  font-weight: 950;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.curriculum-toolbar select {
  width: 100%;
  min-height: 58px;
  padding: 0 46px 0 17px;
  border: 1px solid rgba(20, 32, 55, .16);
  border-radius: 14px;
  color: var(--navy);
  background: white;
  font-weight: 900;
}

.term-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.term-tabs button {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px 14px;
  border: 1px solid rgba(20, 32, 55, .13);
  border-radius: 14px;
  color: var(--ink);
  background: white;
  text-align: left;
}

.term-tabs button:hover,
.term-tabs button.is-active {
  border-color: var(--plum);
  color: white;
  background: var(--plum);
}

.term-tabs span {
  color: var(--green);
  font-size: .61rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.term-tabs button.is-active span,
.term-tabs button:hover span {
  color: var(--gold-bright);
}

.term-tabs strong {
  font-size: .84rem;
}

.class-summary {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 36px;
  align-items: center;
  padding: 38px 42px;
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(229, 184, 77, .18), transparent 15rem),
    linear-gradient(125deg, var(--navy), #0c3150);
}

.class-summary p {
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-size: .67rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.class-summary h3 {
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -.04em;
  line-height: 1;
}

.class-summary > div:first-child > span {
  display: block;
  max-width: 690px;
  color: rgba(255, 255, 255, .68);
  font-size: .88rem;
  line-height: 1.65;
}

.source-status {
  display: grid;
  gap: 6px;
  padding: 21px 22px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 17px;
  background: rgba(255, 255, 255, .07);
}

.source-status strong {
  color: var(--gold-bright);
  font-size: .83rem;
}

.source-status span {
  color: rgba(255, 255, 255, .61);
  font-size: .7rem;
  line-height: 1.45;
}

.pathway-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 32px;
  border-bottom: 1px solid var(--line);
  background: #f8f2e4;
}

.pathway-wrap[hidden] {
  display: none;
}

.pathway-wrap > div:first-child > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .73rem;
}

.pathway-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.pathway-filters button {
  padding: 9px 13px;
  border: 1px solid rgba(20, 32, 55, .15);
  border-radius: 999px;
  color: #425068;
  background: white;
  font-size: .71rem;
  font-weight: 900;
}

.pathway-filters button:hover,
.pathway-filters button.is-active {
  border-color: var(--green);
  color: white;
  background: var(--green);
}

.subject-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 33px 32px 18px;
}

.subject-toolbar > div > strong {
  display: block;
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 1.5rem;
}

.curriculum-search {
  position: relative;
  width: min(380px, 100%);
}

.curriculum-search input {
  width: 100%;
  height: 50px;
  padding: 0 47px 0 17px;
  border: 1px solid rgba(20, 32, 55, .17);
  border-radius: 999px;
  outline: 0;
  color: var(--navy);
  background: #fbfaf7;
}

.curriculum-search input:focus {
  border-color: var(--plum);
  box-shadow: 0 0 0 4px var(--plum-soft);
}

.curriculum-search > span:last-child {
  position: absolute;
  right: 17px;
  top: 50%;
  color: var(--plum);
  font-size: 1.35rem;
  font-weight: 900;
  transform: translateY(-54%);
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 32px 38px;
}

.subject-card {
  position: relative;
  min-height: 222px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--plum);
  border-radius: 18px;
  color: var(--ink);
  background: white;
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.subject-card::after {
  content: "";
  position: absolute;
  width: 80px;
  aspect-ratio: 1;
  right: -46px;
  bottom: -48px;
  border: 16px solid rgba(20, 32, 55, .035);
  border-radius: 50%;
}

.subject-card.category-faith { border-top-color: var(--plum); }
.subject-card.category-core { border-top-color: #0a5273; }
.subject-card.category-development { border-top-color: #c47728; }
.subject-card.category-trade { border-top-color: var(--green); }
.subject-card.category-science { border-top-color: #277f6b; }
.subject-card.category-humanities { border-top-color: #8e4c71; }
.subject-card.category-business { border-top-color: #927024; }
.subject-card.category-optional { border-top-color: #788398; }

.subject-card:hover,
.subject-card.is-active {
  transform: translateY(-4px);
  border-color: var(--plum);
  box-shadow: var(--shadow-soft);
}

.subject-card.is-active {
  background: linear-gradient(145deg, #fff, #fbf3f7);
}

.subject-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--plum);
  font-weight: 900;
}

.category-label {
  color: var(--green);
  font-size: .6rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.subject-card > strong {
  margin: 25px 0 9px;
  font-family: var(--serif);
  font-size: 1.27rem;
  line-height: 1.15;
}

.subject-card > small {
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.55;
}

.subject-marker {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 17px;
  color: #7c4a00;
  font-size: .61rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.subject-marker.exam {
  color: var(--plum);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 52px;
  border: 1px dashed rgba(20, 32, 55, .22);
  border-radius: 20px;
  background: #fbfaf7;
  text-align: center;
}

.empty-state strong {
  font-family: var(--serif);
  font-size: 1.45rem;
}

.empty-state p {
  margin: 7px 0 19px;
  font-size: .83rem;
}

.empty-state button {
  padding: 10px 17px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--plum);
  font-weight: 900;
}

.subject-plan {
  scroll-margin-top: 112px;
  padding: 44px 42px 48px;
  border-top: 1px solid var(--line);
  outline: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(7, 95, 69, .07), transparent 20rem),
    #f7f3ec;
}

.subject-plan[hidden] {
  display: none;
}

.subject-plan-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  margin-bottom: 25px;
}

.subject-plan-header p {
  margin-bottom: 8px;
  color: var(--green);
  font-size: .65rem;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.subject-plan-header h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.5vw, 3.8rem);
  letter-spacing: -.045em;
  line-height: .98;
}

.subject-plan-header > div:first-child > span {
  display: block;
  max-width: 720px;
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.6;
}

.plan-actions {
  display: flex;
  gap: 8px;
}

.plan-actions button {
  min-height: 43px;
  padding: 0 15px;
  border: 1px solid rgba(20, 32, 55, .17);
  border-radius: 999px;
  color: var(--plum);
  background: white;
  font-size: .71rem;
  font-weight: 900;
}

.plan-actions button:hover {
  border-color: var(--plum);
  color: white;
  background: var(--plum);
}

.subject-note {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  color: #533a0b;
  background: #fff8e9;
  font-size: .79rem;
  font-weight: 700;
  line-height: 1.55;
}

.week-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}

.week-card {
  min-height: 170px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(20, 32, 55, .12);
  border-radius: 18px;
  background: white;
}

.week-number {
  min-height: 78px;
  display: grid;
  place-content: center;
  border-radius: 15px;
  color: white;
  background: var(--plum);
  text-align: center;
}

.week-card:nth-child(2n) .week-number {
  background: var(--green);
}

.week-number span {
  font-size: .55rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.week-number strong {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
}

.week-copy > span {
  color: var(--green);
  font-size: .58rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.week-copy h4 {
  margin: 7px 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.2;
}

.week-copy p {
  margin: 0;
  font-size: .73rem;
  line-height: 1.55;
}

.curriculum-principles {
  color: white;
  background:
    radial-gradient(circle at 14% 10%, rgba(229, 184, 77, .12), transparent 21rem),
    linear-gradient(135deg, var(--plum-deep), var(--plum));
}

.principles-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(55px, 8vw, 100px);
}

.principles-layout h2 {
  color: white;
}

.principle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.principle-grid article {
  min-height: 200px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 20px;
  background: rgba(255, 255, 255, .07);
}

.principle-grid span {
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 900;
  opacity: .6;
}

.principle-grid h3 {
  margin: 22px 0 7px;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.principle-grid p {
  margin: 0;
  color: rgba(255, 255, 255, .67);
  font-size: .79rem;
  line-height: 1.6;
}

.official-sources {
  background: white;
}

.source-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.source-links a {
  min-height: 215px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.source-links a:hover {
  transform: translateY(-4px);
  border-color: var(--plum);
  box-shadow: var(--shadow-soft);
}

.source-links span {
  color: var(--green);
  font-size: .6rem;
  font-weight: 950;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.source-links strong {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.25;
}

.source-links small {
  margin-top: auto;
  padding-top: 20px;
  color: var(--plum);
  font-weight: 900;
}

.stage-card:focus-visible,
.term-tabs button:focus-visible,
.pathway-filters button:focus-visible,
.subject-card:focus-visible,
.plan-actions button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 1030px) {
  .curriculum-hero-layout {
    grid-template-columns: 1fr 300px;
    gap: 45px;
  }

  .stage-nav,
  .subject-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .class-summary {
    grid-template-columns: 1fr 270px;
  }

  .pathway-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .pathway-filters {
    justify-content: flex-start;
  }

  .principles-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .curriculum-hero {
    min-height: auto;
  }

  .curriculum-hero-layout {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-block: 82px 92px;
  }

  .curriculum-hero h1 {
    font-size: clamp(3.25rem, 15vw, 5.2rem);
  }

  .curriculum-hero-card {
    max-width: 430px;
  }

  .curriculum-notices {
    margin-top: -34px;
  }

  .notice-grid,
  .stage-nav,
  .curriculum-toolbar,
  .class-summary,
  .subject-grid,
  .subject-plan-header,
  .week-list,
  .source-links {
    grid-template-columns: 1fr;
  }

  .notice-grid article {
    min-height: 0;
    padding: 25px;
  }

  .stage-card {
    min-height: 155px;
  }

  .curriculum-workspace {
    border-radius: 24px;
  }

  .curriculum-toolbar {
    gap: 14px;
    padding: 17px;
  }

  .term-tabs button {
    min-height: 70px;
    padding-inline: 10px;
  }

  .term-tabs strong {
    font-size: .7rem;
  }

  .class-summary,
  .subject-plan {
    padding: 31px 23px;
  }

  .source-status {
    max-width: none;
  }

  .pathway-wrap {
    padding: 22px 23px;
  }

  .subject-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 27px 23px 17px;
  }

  .curriculum-search {
    width: 100%;
  }

  .subject-grid {
    padding: 0 23px 30px;
  }

  .subject-card {
    min-height: 205px;
  }

  .plan-actions {
    flex-wrap: wrap;
  }

  .week-card {
    min-height: 0;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle-grid article {
    min-height: 170px;
  }
}

@media (max-width: 480px) {
  .curriculum-hero-card > div {
    min-height: 120px;
    padding: 20px;
  }

  .term-tabs {
    gap: 5px;
  }

  .term-tabs button {
    padding: 8px;
  }

  .term-tabs span {
    font-size: .52rem;
  }

  .term-tabs strong {
    font-size: .62rem;
  }

  .notice-grid article {
    grid-template-columns: 44px 1fr;
    gap: 15px;
  }

  .notice-icon {
    width: 44px;
    border-radius: 13px;
  }

  .week-card {
    grid-template-columns: 62px 1fr;
    gap: 13px;
    padding: 16px;
  }

  .week-number {
    min-height: 68px;
  }
}

@media print {
  @page {
    margin: 15mm;
    size: A4 portrait;
  }

  body {
    color: #111;
    background: white;
  }

  .announcement,
  .site-header,
  .curriculum-hero,
  .curriculum-notices,
  .curriculum-heading,
  .stage-nav,
  .curriculum-toolbar,
  .class-summary,
  .pathway-wrap,
  .subject-toolbar,
  .subject-grid,
  .curriculum-principles,
  .official-sources,
  .site-footer,
  .plan-actions {
    display: none !important;
  }

  .curriculum-explorer,
  .curriculum-workspace,
  .subject-plan {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: white;
  }

  .curriculum-workspace {
    overflow: visible;
  }

  .subject-plan {
    display: block !important;
  }

  .subject-plan::before {
    content: "CHRIST ANGLICAN SCHOOLS, GWAGWALADA · 2026/2027 CURRICULUM";
    display: block;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #651338;
    color: #651338;
    font-size: 9pt;
    font-weight: 900;
    letter-spacing: .08em;
  }

  .subject-plan-header {
    display: block;
  }

  .subject-plan-header h3 {
    color: #111;
    font-size: 25pt;
  }

  .week-list {
    display: block;
  }

  .week-card {
    min-height: 0;
    margin-bottom: 6px;
    padding: 12px;
    break-inside: avoid;
    border: 1px solid #bbb;
    border-radius: 0;
  }

  .week-number {
    color: white;
    background: #651338 !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .week-copy p {
    color: #333;
  }
}
